-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from dzoech/make-android-launcher-name-and-pac…
…kage-configurable-2 Make Android launcher name and package name configurable to distinguish between debug and release builds
- Loading branch information
Showing
6 changed files
with
35 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/Nudelsieb/Nudelsieb.Mobile/Nudelsieb.Mobile.Android/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
src/Nudelsieb/Nudelsieb.Mobile/Nudelsieb.Mobile.Android/README.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Nudelsieb.Mobile setup | ||
|
||
## Building the Xamarin.Android app | ||
|
||
Go to the [Firebase console](https://console.firebase.google.com/project/nudelsieb-mobile/settings/general/android:dev.zoechbauer.nudelsieb) and download the `google-services.json`. This contains `client` entries for `dev.zoechbauer.nudelsieb` as well as `dev.zoechbauer.nudelsieb.debug`. The latter is used to install debug builds from the IDE on your phone without replacing a release version installed from an APK. | ||
|
||
Either copy your `google-services.json` into the project's root directory next to `Nudelsieb.Mobile.Android.csproj` or use the MSBuild argument `/p:GoogleServicesJsonFilePath=myFilePath` to read the file from a different location. | ||
|
||
In `Nudelsieb.Mobile.Android.csproj` several variables are set depending if the build uses a Release or Debug configuration. These variables are then used in `Properties\AndroidManifest.xml`. |