Skip to content

Commit

Permalink
release commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jennantilla committed Dec 5, 2023
1 parent 17b9d8c commit e5c5fc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public void onCatalystInstanceDestroy() {
public void initialize(String appId) {
Context context = mReactApplicationContext.getCurrentActivity();
OneSignalWrapper.setSdkType("reactnative");
OneSignalWrapper.setSdkVersion("050003");
OneSignalWrapper.setSdkVersion("050004");

if (oneSignalInitDone) {
Log.e("OneSignal", "Already initialized the OneSignal React-Native SDK");
Expand Down
2 changes: 1 addition & 1 deletion ios/RCTOneSignal/RCTOneSignal.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ - (void)initOneSignal:(NSDictionary *)launchOptions {
return;

OneSignalWrapper.sdkType = @"reactnative";
OneSignalWrapper.sdkVersion = @"050003";
OneSignalWrapper.sdkVersion = @"050004";
// initialize the SDK with a nil app ID so cold start click listeners can be triggered
[OneSignal initialize:nil withLaunchOptions:launchOptions];
didInitialize = true;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-onesignal",
"version": "5.0.3",
"version": "5.0.4",
"description": "React Native OneSignal SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit e5c5fc1

Please sign in to comment.