Skip to content

Commit

Permalink
Merge pull request #689 from OneSignal/feature/updateOneSignalSDKs
Browse files Browse the repository at this point in the history
[Feature] Update native OneSignal SDKs dependencies to 5.1.x
  • Loading branch information
shepherd-l authored and jinliu9508 committed Mar 1, 2024
2 parents 1f7f1bf + ac3d3b4 commit 7e8c31a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions OneSignalExample/Assets/OneSignal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed lower build-tools versions being needed for Android builds. Delete your OneSignalConfig.androidlib and run the
"Copy Android plugin to Assets" step in **Window > OneSignal SDK Setup** to apply the fix.
### Changed
- Updated included Android SDK to [5.0.4](https://github.com/OneSignal/OneSignal-Android-SDK/releases/tag/5.0.4)
- Updated included iOS SDK to [5.0.4](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/5.0.4)
- Updated included Android SDK to [5.1.1](https://github.com/OneSignal/OneSignal-Android-SDK/releases/tag/5.1.1).
- Android builds now require the Target API Level to be set to 33 or higher.
- Updated included iOS SDK to [5.1.0](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/5.1.0)

## [5.0.5]
### Changed
Expand Down
1 change: 1 addition & 0 deletions OneSignalExample/Assets/OneSignal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ And via many additional platforms. [Check them all out](https://documentation.on
- A [OneSignal Account](https://app.onesignal.com/signup) if you do not already have one
- Your OneSignal App ID which you can find under **Settings > Keys & IDs**
- Unity 2021.3 or newer
- Android Builds: Target API Level 33 or higher
- iOS Builds: CocoaPods 1.11.3 or newer
- In order to test push notifications you will need
- An Android 4.0.3 or newer device or emulator with "Google Play services" installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apply plugin: 'com.android.library'
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
// Android Resolver Dependencies Start
implementation 'com.onesignal:OneSignal:5.0.5' // Packages/com.onesignal.unity.android/Editor/OneSignalAndroidDependencies.xml:6
implementation 'com.onesignal:OneSignal:5.1.1' // Packages/com.onesignal.unity.android/Editor/OneSignalAndroidDependencies.xml:6
// Android Resolver Dependencies End
**DEPS**}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dependencies>
<packages>
<package>com.onesignal:OneSignal:5.0.5</package>
<package>com.onesignal:OneSignal:5.1.1</package>
</packages>
<files />
<settings>
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ And via many additional platforms. [Check them all out](https://documentation.on
- A [OneSignal Account](https://app.onesignal.com/signup) if you do not already have one
- Your OneSignal App ID which you can find under **Settings > Keys & IDs**
- Unity 2021.3 or newer
- Android Builds: Target API Level 33 or higher
- iOS Builds: CocoaPods 1.11.3 or newer
- In order to test push notifications you will need
- An Android 5 or newer device or emulator with "Google Play Store (Services)" installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<repositories>
<repository>https://repo.maven.apache.org/maven2</repository>
</repositories>
<androidPackage spec="com.onesignal:OneSignal:5.0.5" />
<androidPackage spec="com.onesignal:OneSignal:5.1.1" />
</androidPackages>
</dependencies>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<dependencies>
<iosPods>
<iosPod name="OneSignalXCFramework" version="5.0.5" addToAllTargets="true" />
<iosPod name="OneSignalXCFramework" version="5.1.0" addToAllTargets="true" />
</iosPods>
</dependencies>

0 comments on commit 7e8c31a

Please sign in to comment.