skip to Main Content

Json – How to pass List of data from NavGraph in android kotlin Android

Getting this error: Type mismatch: inferred type is List<BookParkingResponse.Data> but List<BookParkingResponse.Data.ParkingRequests> was expected unable to pass data bewteeen fragments Nav Graph code: navGraph <argument android:name="bookingRequestList" app:argType="com.jvm.di.model.parkingSpot.response.BookParkingResponse.Data" /> Response class @Parcelize data class BookParkingResponse( @SerializedName("data") var data: List<Data>? = null ):Parcelable…

VIEW QUESTION

Firebase – FCM send – 401 Unauthorized even though can query Firestore documents

Im trying to send FCM in my kotlin springboot backend. I can query/write firestore documents successfully. But when I try to send fcm, I got below error. message: "handleException /<endpoint> com.google.api.client.http.HttpResponseException: 401 Unauthorized POST https://fcm.googleapis.com/v1/projects/<project-id>/messages:send" The Service Account have Firebase…

VIEW QUESTION
Back To Top
Search