Skip to content

Commit 4cddf25

Browse files
committed
update example readme
1 parent 885f330 commit 4cddf25

8 files changed

Lines changed: 26 additions & 5 deletions

File tree

OneSignalExample/Assets/Plugins/Android/mainTemplate.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ apply from: '../shared/keepUnitySymbols.gradle'
77
dependencies {
88
implementation fileTree(dir: 'libs', include: ['*.jar'])
99
// Android Resolver Dependencies Start
10-
implementation 'com.onesignal:OneSignal:5.6.0' // Packages/com.onesignal.unity.android/Editor/OneSignalAndroidDependencies.xml:6
10+
implementation 'com.onesignal:OneSignal:5.6.1' // Packages/com.onesignal.unity.android/Editor/OneSignalAndroidDependencies.xml:6
1111
// Android Resolver Dependencies End
1212
**DEPS**}
1313

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<projectSettings>
33
<projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" />
4-
<projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" />
5-
<projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="False" />
6-
<projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
7-
<projectSetting name="GooglePlayServices.UseJetifier" value="True" />
84
</projectSettings>

OneSignalExample/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Testing on Example App
2+
3+
First try to use a more recent Unity version for testing on the emulators.
4+
5+
![Unity Version](docs/unity-version.png)
6+
7+
### Android
8+
9+
Check your build profiles and make sure Android platform is selected.
10+
Then click build and select a location for the apk bundle.
11+
12+
![Android Example 1](docs/android-example-1.png)
13+
14+
Then have an emulator running and drag the apk to the emulator to install it. Then test what OneSignal functionality you want.
15+
![Android Example 2](docs/android-example-2.png)
16+
17+
### iOS
18+
19+
Check your build profiles and make sure iOS platform is selected.
20+
Then configure your play settings and set `Target SDK` to `Simulator SDK`
21+
![iOS Example 1](docs/ios-example-1.png)
22+
23+
Then click `Build and Run` and select a location for the apk bundle. Or click `Build` to use own simualtor.
24+
25+
![iOS Example 1](docs/ios-example-2.png)
584 KB
Loading
1.95 MB
Loading
623 KB
Loading
483 KB
Loading
435 KB
Loading

0 commit comments

Comments
 (0)