Skip to content

Commit

Permalink
feat: Update React Native SDK to support native iOS SDK version 1.1.9…
Browse files Browse the repository at this point in the history
… & Android SDK version 1.1.12

feat: Update React Native SDK to support native iOS SDK version 1.1.9 & Android SDK version 1.1.12
  • Loading branch information
mandrzej authored Apr 27, 2023
2 parents f07f09c + 158347e commit 6978dfa
Show file tree
Hide file tree
Showing 11 changed files with 13,890 additions and 9,707 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,11 @@ android/keystores/debug.keystore

# generated by bob
lib/

.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
873 changes: 873 additions & 0 deletions .yarn/releases/yarn-3.5.0.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.5.0.cjs
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## 1.0.8

* Added support for native iOS SDK version 1.1.9
* Added support for native Android SDK version 1.1.12

## 1.0.7

* Added support for native iOS SDK version 1.1.8
* Added support for native Android SDK version 1.1.10
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'pro.piwik:sdk-framework-android:1.1.10'
implementation 'pro.piwik:sdk-framework-android:1.1.12'
}
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ class PiwikProSdkModule(reactContext: ReactApplicationContext) :
fun trackCampaign(url: String, promise: Promise) {
try {
val trackHelper = TrackHelper.track()
trackHelper.campaign(URL(url))
trackHelper.campaign(url)
promise.resolve(null)
} catch (exception: Exception) {
promise.reject(exception)
Expand Down
10 changes: 5 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PODS:
- React-jsi (= 0.64.4)
- ReactCommon/turbomodule/core (= 0.64.4)
- glog (0.3.5)
- PiwikPROSDK (1.1.8)
- PiwikPROSDK (1.1.9)
- RCT-Folly (2020.01.13.00):
- boost-for-react-native
- DoubleConversion
Expand Down Expand Up @@ -204,8 +204,8 @@ PODS:
- React-jsi (= 0.64.4)
- React-perflogger (= 0.64.4)
- React-jsinspector (0.64.4)
- react-native-piwik-pro-sdk (1.0.4):
- PiwikPROSDK (= 1.1.8)
- react-native-piwik-pro-sdk (1.0.7):
- PiwikPROSDK (= 1.1.9)
- React-Core
- react-native-safe-area-context (3.4.1):
- React-Core
Expand Down Expand Up @@ -393,7 +393,7 @@ SPEC CHECKSUMS:
FBLazyVector: fa8275d5086566e22a26ddc385ab5772e7f9b1bd
FBReactNativeSpec: 38a53537e3ddc3e3a850a18d1742735042e98d03
glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62
PiwikPROSDK: 898a7caab214017eafe9e552ddf2e4b1fb502cbe
PiwikPROSDK: 360eeaea503b34d190aaf4e05060dbcd22a4ab26
RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c
RCTRequired: f85fa00af016059cf88b90b8f8ff9a6af9e4b6c3
RCTTypeSafety: 5279aaf0fb1ad715cbbbbee32d5c98c72598bc9c
Expand All @@ -405,7 +405,7 @@ SPEC CHECKSUMS:
React-jsi: 64f80675a66899bf0f4a58b8e3908966fa516234
React-jsiexecutor: 8c077bef1c64430b6034f27df1000d194551e2eb
React-jsinspector: d4f6973dd474357dbaaf6f52f31ffc713bf3e766
react-native-piwik-pro-sdk: f4b4fbdfc806af4284a104e977e4d5b10613b974
react-native-piwik-pro-sdk: baa68cec4c19218db33c0142c9ee87df62ccf67a
react-native-safe-area-context: 9e40fb181dac02619414ba1294d6c2a807056ab9
React-perflogger: 5a890ca0911669421b7611661e9b58f91c805f5c
React-RCTActionSheet: bd180e0879f8424a73650c5c28fbef4f3b5b27fb
Expand Down
30 changes: 13 additions & 17 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,6 @@
}
]
]
}
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion react-native-piwik-pro-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm}"

s.dependency "React-Core"
s.dependency "PiwikPROSDK", "1.1.8"
s.dependency "PiwikPROSDK", "1.1.9"
end
Loading

0 comments on commit 6978dfa

Please sign in to comment.