'Assets are hiding under the map for Terrain with Labels with ArcGIS Runtime maps Xamarin.Forms

Assets are hiding under the map for Terrain with Labels basemap.It is not happening with other basemaptypes like Streetvector. ArcGIS Runtime 100.13.0 and Xamarin.Forms 5.0.0.2337 used.please help to solve the issue. enter image description here

myMap.Basemap = Basemap.CreateTerrainWithLabelsVector();
myMap.OperationalLayers.Add(publicLayer);
featureLayer = new FeatureLayer(featureLayer);
await _featureLayer.LoadAsync();
myMap.OperationalLayers.Add(_featureLayer);
MyMapView.Map = myMap;


Solution 1:[1]

  1. Register your app in firebase site (please pay attention on your app id);
  2. Get google-services.json and add it to 'android -> app' folder;
  3. Update your app id and make it the same as in firebase; You could update app icon by adding metadata:
 <meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/app_icon" />
  1. Add dependencies: (Use latest version)
  firebase_core: ^1.4.0
  firebase_messaging: ^10.0.4  
  1. Add await Firebase.initializeApp() in main method on top of runApp();
  await Firebase.initializeApp();
  await FirebaseMessaging.instance
        .setForegroundNotificationPresentationOptions(
      alert: true,
      badge: true,
      sound: true,
    );

  await FirebaseMessaging.instance.requestPermission(
      alert: true,
      announcement: false,
      badge: true,
      carPlay: false,
      criticalAlert: false,
      provisional: false,
      sound: true,
    );

Try this one, hope it helps. Unfortunately, I don't remember all details.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Atamyrat Babayev