nativescript-cli
nativescript-cli copied to clipboard
Android Typescript Template - AppLabel with Whitespace
Hi,
at the moment the name in package.json must not have any whitespaces and it has to match the app_name from strings.xml.
This results in the app_name not having whitespaces.
The label title_activity_kimera may have whitespaces but when it is different from the app_name this results in a bad unstallation dialog on Android.
A solution would be to change the default AndroidManifest.xml:
<application
android:name="com.tns.NativeScriptApplication"
android:allowBackup="true"
android:icon="@drawable/icon"
android:label="@string/title_activity_kimera" <------ change this
android:theme="@style/AppTheme" >
<activity
android:name="com.tns.NativeScriptActivity"
android:label="@string/title_activity_kimera" <------ remove this
android:configChanges="keyboardHidden|orientation|screenSize">
after this, everything looks fine.
This issue was moved to NativeScript/android-runtime#490