tapjoy-react-native-sdk 13.0.1 → 13.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  Tapjoy React Native SDK
2
2
  ======================
3
+ React Native plugin for Tapjoy Offerwall SDK which supports Android & iOS platforms.
4
+
5
+ You can find the end user integration document [here](https://dev.tapjoy.com/en/reactnative-plugin/Quickstart).
3
6
 
4
7
  ## Module Development
5
8
  ### Setup Environment
@@ -37,7 +40,7 @@ yarn example android
37
40
  ```
38
41
 
39
42
  ### Javascript
40
- `./src/index.ts` is the typescript module entry point. No wrapper is introduced yet.
43
+ `./src/index.ts` is the typescript module entry point.
41
44
 
42
45
  ### iOS
43
46
  You can find `./ios/TapjoyReactNativeSdk.swift` and `./ios/TapjoyReactNativeSdk.m` for the iOS bridge logic.
@@ -56,6 +59,9 @@ In Xcode, use `Debug > Attach to Process` feature
56
59
  ### Android
57
60
  In Android Studio, use `Run > Attach Debugger to Android Process` feature.
58
61
 
62
+ ## Integration Document
63
+ [Tapjoy React Native SDK Integration Document](https://dev.tapjoy.com/en/reactnative-plugin/Quickstart).
64
+
59
65
  ## Resources
60
66
  ### Environment setup
61
67
  https://reactnative.dev/docs/environment-setup
@@ -79,7 +79,7 @@ dependencies {
79
79
  //noinspection GradleDynamicVersion
80
80
  implementation 'com.facebook.react:react-native:0.71.4'
81
81
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
82
- implementation 'com.tapjoy:tapjoy-android-sdk:13.0.1'
82
+ implementation 'com.tapjoy:tapjoy-android-sdk:13.1.1'
83
83
  implementation "com.google.android.gms:play-services-ads-identifier:18.0.1"
84
84
  }
85
85
 
@@ -166,7 +166,7 @@ dependencies {
166
166
  implementation jscFlavor
167
167
  }
168
168
 
169
- implementation 'com.tapjoy:tapjoy-android-sdk:13.0.1'
169
+ implementation 'com.tapjoy:tapjoy-android-sdk:13.1.1'
170
170
  }
171
171
 
172
172
  apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
@@ -44,8 +44,6 @@ target 'TapjoyReactNativeSdkExample' do
44
44
  :app_path => "#{Pod::Config.instance.installation_root}/.."
45
45
  )
46
46
 
47
- pod "TapjoySDK", "13.0.1"
48
-
49
47
  target 'TapjoyReactNativeSdkExampleTests' do
50
48
  inherit! :complete
51
49
  # Pods for testing
@@ -50,9 +50,9 @@
50
50
  <string>UIInterfaceOrientationLandscapeRight</string>
51
51
  </array>
52
52
  <key>UIViewControllerBasedStatusBarAppearance</key>
53
- <false/>
54
- <key>NSUserTrackingUsageDescription</key>
55
- <string>This allows us to deliver personalized ads for you.</string>
53
+ <true/>
54
+ <key>NSUserTrackingUsageDescription</key>
55
+ <string>This allows us to deliver personalized ads for you.</string>
56
56
  <key>UIUserInterfaceStyle</key>
57
57
  <string>Light</string>
58
58
  </dict>
@@ -195,7 +195,7 @@ class TapjoyReactNativeSdk: RCTEventEmitter {
195
195
  - Parameter privacyValue: The privacy value string. eg. "1YNN" where 1 is char in string for the version, Y = YES, N = No, - = Not Applicable
196
196
  */
197
197
  @objc func setUSPrivacy(_ privacyValue: String) {
198
- Tapjoy.getPrivacyPolicy().setUSPrivacy(privacyValue)
198
+ Tapjoy.getPrivacyPolicy().usPrivacy = privacyValue
199
199
  }
200
200
 
201
201
  /**
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = exports.TJVersion = void 0;
7
- const REACT_LIBRARY_VERSION = "13.0.1";
7
+ const REACT_LIBRARY_VERSION = "13.1.1";
8
8
  const REACT_LIBRARY_VERSION_SUFFIX = "";
9
9
  class TJVersion {
10
10
  // Returns the version of the plugin - eg: 1.0.0-alpha-rc1
@@ -1,4 +1,4 @@
1
- const REACT_LIBRARY_VERSION = "13.0.1";
1
+ const REACT_LIBRARY_VERSION = "13.1.1";
2
2
  const REACT_LIBRARY_VERSION_SUFFIX = "";
3
3
  export class TJVersion {
4
4
  // Returns the version of the plugin - eg: 1.0.0-alpha-rc1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tapjoy-react-native-sdk",
3
- "version": "13.0.1",
3
+ "version": "13.1.1",
4
4
  "description": "ReactNative Plugin for Tapjoy SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/src/TJVersion.ts CHANGED
@@ -1,4 +1,4 @@
1
- const REACT_LIBRARY_VERSION = "13.0.1"
1
+ const REACT_LIBRARY_VERSION = "13.1.1"
2
2
  const REACT_LIBRARY_VERSION_SUFFIX = ""
3
3
 
4
4
  export class TJVersion {
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
18
 
19
19
  s.dependency "React-Core"
20
- s.dependency "TapjoySDK", "13.0.1"
20
+ s.dependency "TapjoySDK", "13.1.1"
21
21
 
22
22
  # Don't install the dependencies when we run `pod install` in the old architecture.
23
23
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then