How to change the App name in Xamarin.Forms?
Asked Answered
E

2

6

I have developed an Xamarin.Forms app and I initially named the project ”modelapp”. Now when releasing the Android app I changed the name of the app in ”MainActivity.cs” file to ”MyBooks”.

But when installing the apk file it is still displaying as ”do you want to install modelapp?” And even when the app is crashing it is displayed as ”modelapp.android is crashing”

Where else do I need to change the app name to ”MyBooks” so it everywhere gets displayed as ”MyBooks”?

Embosser answered 27/3, 2018 at 0:24 Comment(1)
Possible duplicate of Xamarin.Forms change Android application nameNuncia
C
4

Android

1 Right click on Android project and select properties from there select Android Manifest and change your Application name

enter image description here

2 Change your MainActivity Label Text

enter image description here

iOS

In your iOS project search file info.plist and open it with iOS Manifest Editor and select Application tab and change application name here

enter image description here

Note: You can change your package name and Bundle identifier name as well

Cloison answered 27/3, 2018 at 11:33 Comment(0)
D
0

Open Info.plist file in iOS directory and change your app name.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
   <dict>
      ...
      <string>YOUR APP NAME</string>
      ...
   </dict>
</plist>
Dirndl answered 28/7, 2018 at 8:13 Comment(2)
From Review: Please provide more details to the solution you are proposing. Otherwise this post does not seem to provide a quality answer to the question. Please either edit your answer, or just post it as a comment to the question.Sternum
And in UWP it is Project Properties, Application, Package Manifest, Display name.Caskey

© 2022 - 2024 — McMap. All rights reserved.