android - App shortcut disappears after every update, what's wrong with my Manifest? -


i've no idea why happening, i've tried everything. every time update app, previous shortcut on home screen disappears.

here complete app manifest:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.spacemonkey.boats" android:versioncode="161" android:versionname="1.6.1">     <uses-sdk android:minsdkversion="15" android:targetsdkversion="21" />     <application android:label="boats" android:icon="@drawable/playstore"></application>     <uses-permission android:name="android.permission.internet" />     <uses-permission android:name="android.permission.access_network_state" />     <uses-permission android:name="android.permission.write_external_storage" /> </manifest> 

and main activity:

[activity (label = "boats", icon = "@drawable/playstore", mainlauncher = true, configurationchanges = configchanges.screensize | configchanges.orientation)]     public class mainactivity : global::xamarin.forms.platform.android.formsapplicationactivity 

the thing change when update versioncode , versionname in manifest, absolutely nothing else changes.

what doing wrong here?

edit: i'm starting think it's problem xamarin generating new app manifest in background, i'm not sure how check that.

edit: i've tested android (xamarin) app doesn't use xamarin.forms , didn't have problem. suspicions confirmed it's related xamarin.forms.

the problem xamarin studio. recreated solution , copied everything, problem disappeared...

i don't know happening, it's solved now.


Comments