Skip to content

Commit

Permalink
Update RN version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-timotei committed Jun 27, 2022
1 parent 62d46bc commit ce1164b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class OmetriaReactNativeSdkModule(private val reactContext: ReactApplicationCont


init {
StorageController(reactContext.applicationContext).saveSdkVersionRN("1.2.3")
StorageController(reactContext.applicationContext).saveSdkVersionRN("2.0.0")
}

override fun getName(): String {
Expand Down
4 changes: 2 additions & 2 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ android {
applicationId "com.example.ometriareactnativesdk"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
versionCode 7
versionName "2.0.0"
}
splits {
abi {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,13 @@
CODE_SIGN_ENTITLEMENTS = OmetriaReactNativeSdkExample/OmetriaReactNativeSdkExample.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 7;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = G7T599BH7B;
INFOPLIST_FILE = OmetriaReactNativeSdkExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.2.3;
MARKETING_VERSION = 2.0.0;
OTHER_CFLAGS = (
"$(inherited)",
"-DFB_SONARKIT_ENABLED=1",
Expand Down Expand Up @@ -348,12 +348,12 @@
CODE_SIGN_ENTITLEMENTS = OmetriaReactNativeSdkExample/OmetriaReactNativeSdkExample.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 7;
DEVELOPMENT_TEAM = G7T599BH7B;
INFOPLIST_FILE = OmetriaReactNativeSdkExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.2.3;
MARKETING_VERSION = 2.0.0;
OTHER_CFLAGS = (
"$(inherited)",
"-DFB_SONARKIT_ENABLED=1",
Expand Down
2 changes: 1 addition & 1 deletion ios/OmetriaReactNativeSdk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class OmetriaReactNativeSdk: RCTEventEmitter, OmetriaNotificationInteractionDele

@objc(initializeWithApiToken:resolver:rejecter:)
func initialize(apiToken: String, resolve: @escaping RCTPromiseResolveBlock, reject:RCTPromiseRejectBlock) -> Void {
OmetriaStorageKeys.rnVersion = "1.2.3"
OmetriaStorageKeys.rnVersion = "2.0.0"
DispatchQueue.main.async {
let ometriaInit = Ometria.initialize(apiToken: apiToken)
resolve(ometriaInit)
Expand Down
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
PODFILE CHECKSUM: 02715b6cc8005464e0d446f99b1c6c88ba4a3cb6

COCOAPODS: 1.11.2
COCOAPODS: 1.11.3
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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-ometria",
"version": "1.2.3",
"version": "2.0.0",
"description": "We help retailers create marketing experiences their customers will love",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit ce1164b

Please sign in to comment.