Skip to content

Commit

Permalink
Update Android configuration steps
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherd-l authored and jinliu9508 committed Feb 23, 2024
1 parent c356b3c commit 4a87e5f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MIGRATION_GUIDE_v3_to_v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Execution failed for task ':launcher:mergeReleaseJavaResource'.
> More than one file was found with OS independent path 'META-INF/kotlinx_coroutines_core.version'.
```

1. Go to **Player Settings > Android Tab > Publishing Settings** and enable the following settings:
1. Go to **Player Settings** and click the Android Tab. Under **Publishing Settings**, enable the following:
- Custom Main Gradle Template
- Custom Gradle Properties Template
2. Resolve Android dependencies with EDM4U at **Assets > External Dependency Manager > Android Resolver > Force Resolve**
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Execution failed for task ':launcher:mergeReleaseJavaResource'.
> More than one file was found with OS independent path 'META-INF/kotlinx_coroutines_core.version'.
```

1. Go to **Player Settings > Android Tab > Publishing Settings** and enable the following settings:
1. Go to **Player Settings** and click the Android Tab. Under **Publishing Settings**, enable the following:
- Custom Main Gradle Template
- Custom Gradle Properties Template
2. Resolve Android dependencies with EDM4U at **Assets > External Dependency Manager > Android Resolver > Force Resolve**
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ After building in Unity and exporting the XCode project follow these steps:
6. **App Groups** should now be provisioned for you going forward for your iOS bundle id, even on clean builds.

### Android
In the Unity editor:

1. Go to **Player Settings** and click the Android Tab. Under **Publishing Settings**, enable the following:
- Custom Main Gradle Template
- Custom Gradle Properties Template
2. Resolve Android dependencies with EDM4U at **Assets > External Dependency Manager > Android Resolver > Force Resolve**

Most of the Android setup was already handled during installation!

The only thing remaining is to setup your own notification icons. You can do this be replacing the example icons located at `Assets/Plugins/Android/OneSignalConfig.plugin`
Expand Down

0 comments on commit 4a87e5f

Please sign in to comment.