tapjoy-react-native-sdk 14.0.1 → 14.1.0

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.
@@ -81,7 +81,7 @@ dependencies {
81
81
  //noinspection GradleDynamicVersion
82
82
  implementation 'com.facebook.react:react-native:0.74.1'
83
83
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
84
- implementation 'com.tapjoy:tapjoy-android-sdk:14.0.1'
84
+ implementation 'com.tapjoy:tapjoy-android-sdk:14.1.0'
85
85
  implementation "com.google.android.gms:play-services-ads-identifier:18.0.1"
86
86
  }
87
87
 
@@ -152,7 +152,7 @@ class TapjoyReactNativeSdkModule(reactContext: ReactApplicationContext) :
152
152
  * @param userId: User ID
153
153
  */
154
154
  @ReactMethod
155
- fun setUserId(userId: String, promise: Promise) {
155
+ fun setUserId(userId: String?, promise: Promise) {
156
156
  Tapjoy.setUserID(userId, object: TJSetUserIDListener {
157
157
  override fun onSetUserIDSuccess() {
158
158
  promise.resolve(userId)
@@ -115,7 +115,7 @@ dependencies {
115
115
  }
116
116
 
117
117
  implementation 'com.google.android.gms:play-services-appset:16.0.2'
118
- implementation 'com.tapjoy:tapjoy-android-sdk:14.0.1'
118
+ implementation 'com.tapjoy:tapjoy-android-sdk:14.1.0'
119
119
 
120
120
  }
121
121
 
@@ -499,7 +499,7 @@
499
499
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
500
500
  CLANG_ENABLE_MODULES = YES;
501
501
  CURRENT_PROJECT_VERSION = 1;
502
- DEVELOPMENT_TEAM = ECPZ2SRF59;
502
+ DEVELOPMENT_TEAM = VLCPHQMND2;
503
503
  ENABLE_BITCODE = NO;
504
504
  HEADER_SEARCH_PATHS = (
505
505
  "$(inherited)",
@@ -557,7 +557,7 @@
557
557
  "-ObjC",
558
558
  "-lc++",
559
559
  );
560
- PRODUCT_BUNDLE_IDENTIFIER = "com.tapjoy.reactnative-LLC";
560
+ PRODUCT_BUNDLE_IDENTIFIER = com.tapjoy.reactnative;
561
561
  PRODUCT_NAME = TapjoyReactNativeSdkExample;
562
562
  RCT_NO_LAUNCH_PACKAGER = "";
563
563
  SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
@@ -579,7 +579,7 @@
579
579
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
580
580
  CLANG_ENABLE_MODULES = YES;
581
581
  CURRENT_PROJECT_VERSION = 1;
582
- DEVELOPMENT_TEAM = ECPZ2SRF59;
582
+ DEVELOPMENT_TEAM = VLCPHQMND2;
583
583
  HEADER_SEARCH_PATHS = (
584
584
  "$(inherited)",
585
585
  "\"${PODS_ROOT}/Headers/Public\"",
@@ -636,7 +636,7 @@
636
636
  "-ObjC",
637
637
  "-lc++",
638
638
  );
639
- PRODUCT_BUNDLE_IDENTIFIER = "com.tapjoy.reactnative-LLC";
639
+ PRODUCT_BUNDLE_IDENTIFIER = com.tapjoy.reactnative;
640
640
  PRODUCT_NAME = TapjoyReactNativeSdkExample;
641
641
  RCT_NO_LAUNCH_PACKAGER = 1;
642
642
  SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "TapjoyReactNativeSdkExample",
3
- "version": "14.0.1",
3
+ "version": "14.1.0",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "android": "react-native run-android",
@@ -152,7 +152,7 @@ const UserProperties: React.FC = () => {
152
152
 
153
153
  const applyProperties = async () => {
154
154
  try {
155
- let trimmedUserId = userId.trim();
155
+ let trimmedUserId = userId?.trim();
156
156
  let trimmedMaxLevel = maxLevel.trim();
157
157
  let trimmedUserLevel = userLevel.trim();
158
158
  let maxLevelValue = -1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tapjoy-react-native-sdk",
3
- "version": "14.0.1",
3
+ "version": "14.1.0",
4
4
  "description": "ReactNative Plugin for Tapjoy SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -52,7 +52,9 @@
52
52
  "copy-pack": "npm pack && tar xvzf tapjoy-react-native*.tgz && cp -af ./package/* ./temp && rm tapjoy-react-native*.tgz",
53
53
  "push": "cd temp && git add . && export VERSION=`node -p \"require('./package.json').version\"` && git commit -m \"Release $VERSION\" && git push",
54
54
  "publish-npm": "yarn prepare-repo && yarn copy-pack && yarn push && cd temp && npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN && npm pkg fix && npm publish",
55
- "publish-staging-npm": "yarn prepare-staging-repo && yarn copy-pack && yarn push && cd temp && npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN && npm pkg fix && npm publish --dry-run"
55
+ "publish-staging-npm": "yarn prepare-staging-repo && yarn copy-pack && yarn push && cd temp && npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN && npm pkg fix && npm publish --dry-run",
56
+ "doc": "typedoc --entryPointStrategy expand src/*",
57
+ "tag-main": "export VERSION=`node -p \"require('./package.json').version\"` && git tag $VERSION && git push origin $VERSION"
56
58
  },
57
59
  "keywords": [
58
60
  "react-native",
@@ -86,6 +88,7 @@
86
88
  "pod-install": "^0.2.0",
87
89
  "prettier": "^3.2.4",
88
90
  "react": "^18.3.1",
91
+ "typedoc": "^0.25.0",
89
92
  "react-native": "^0.74.1",
90
93
  "typescript": "^5.3.3"
91
94
  },
package/src/TJVersion.ts CHANGED
@@ -1,4 +1,4 @@
1
- const REACT_LIBRARY_VERSION = '14.0.1';
1
+ const REACT_LIBRARY_VERSION = '14.1.0';
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", "14.0.1"
20
+ s.dependency "TapjoySDK", "14.1.0"
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