tapjoy-react-native-sdk 14.1.1 → 14.2.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.1.1'
84
+ implementation 'com.tapjoy:tapjoy-android-sdk:14.2.0'
85
85
  implementation "com.google.android.gms:play-services-ads-identifier:18.0.1"
86
86
  }
87
87
 
@@ -1,4 +1,4 @@
1
- TapjoyReactNativeSdk_kotlinVersion=1.8.0
1
+ TapjoyReactNativeSdk_kotlinVersion=1.9.24
2
2
  TapjoyReactNativeSdk_minSdkVersion=21
3
3
  TapjoyReactNativeSdk_targetSdkVersion=34
4
4
  TapjoyReactNativeSdk_compileSdkVersion=34
package/example/Gemfile CHANGED
@@ -3,7 +3,6 @@ source 'https://rubygems.org'
3
3
  # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4
4
  ruby ">= 2.6.10"
5
5
 
6
- # Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
7
- # bound in the template on Cocoapods with next React Native release.
8
- gem 'cocoapods', '>= 1.13', '< 1.15'
9
- gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
6
+ # Exclude problematic versions of cocoapods and activesupport that causes build failures.
7
+ gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
8
+ gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
@@ -8,14 +8,14 @@ apply plugin: "org.jetbrains.kotlin.android"
8
8
  */
9
9
  react {
10
10
  /* Folders */
11
- // The root of your project, i.e. where "package.json" lives. Default is '..'
12
- // root = file("../")
13
- // The folder where the react-native NPM package is. Default is ../node_modules/react-native
14
- // reactNativeDir = file("../node_modules/react-native")
15
- // The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen
16
- // codegenDir = file("../node_modules/@react-native/codegen")
17
- // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
18
- // cliFile = file("../node_modules/react-native/cli.js")
11
+ // The root of your project, i.e. where "package.json" lives. Default is '../..'
12
+ // root = file("../../")
13
+ // The folder where the react-native NPM package is. Default is ../../node_modules/react-native
14
+ // reactNativeDir = file("../../node_modules/react-native")
15
+ // The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
16
+ // codegenDir = file("../../node_modules/@react-native/codegen")
17
+ // The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
18
+ // cliFile = file("../../node_modules/react-native/cli.js")
19
19
 
20
20
  /* Variants */
21
21
  // The list of variants to that are debuggable. For those we're going to
@@ -49,6 +49,8 @@ react {
49
49
  //
50
50
  // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
51
51
  // hermesFlags = ["-O", "-output-source-map"]
52
+ /* Autolinking */
53
+ autolinkLibrariesWithApp()
52
54
  }
53
55
 
54
56
  /**
@@ -115,8 +117,6 @@ dependencies {
115
117
  }
116
118
 
117
119
  implementation 'com.google.android.gms:play-services-appset:16.0.2'
118
- implementation 'com.tapjoy:tapjoy-android-sdk:14.1.1'
120
+ implementation 'com.tapjoy:tapjoy-android-sdk:14.2.0'
119
121
 
120
122
  }
121
-
122
- apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
@@ -8,7 +8,8 @@
8
8
  android:icon="@mipmap/ic_launcher"
9
9
  android:allowBackup="false"
10
10
  android:networkSecurityConfig="@xml/network_security_config"
11
- android:theme="@style/AppTheme">
11
+ android:theme="@style/AppTheme"
12
+ android:supportsRtl="true">
12
13
  <activity
13
14
  android:name=".MainActivity"
14
15
  android:label="@string/app_name"
@@ -5,7 +5,7 @@ buildscript {
5
5
  compileSdkVersion = 34
6
6
  targetSdkVersion = 34
7
7
  ndkVersion = "26.1.10909125"
8
- kotlinVersion = "1.9.22"
8
+ kotlinVersion = "1.9.24"
9
9
  }
10
10
  repositories {
11
11
  google()
@@ -1,6 +1,6 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
4
4
  networkTimeout=10000
5
5
  validateDistributionUrl=true
6
6
  zipStoreBase=GRADLE_USER_HOME
@@ -21,8 +21,6 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
21
21
  # Android operating system, and which are packaged with your app's APK
22
22
  # https://developer.android.com/topic/libraries/support-library/androidx-rn
23
23
  android.useAndroidX=true
24
- # Automatically convert third-party libraries to use AndroidX
25
- android.enableJetifier=true
26
24
 
27
25
  # Use this property to specify which architecture you want to build.
28
26
  # You can also override it from the CLI using
@@ -55,7 +55,7 @@
55
55
  # Darwin, MinGW, and NonStop.
56
56
  #
57
57
  # (3) This script is generated from the Groovy template
58
- # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58
+ # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
59
  # within the Gradle project.
60
60
  #
61
61
  # You can find Gradle at https://github.com/gradle/gradle/.
@@ -1,4 +1,6 @@
1
+ pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
2
+ plugins { id("com.facebook.react.settings") }
3
+ extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
1
4
  rootProject.name = 'TapjoyReactNativeSdkExample'
2
- apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
3
5
  include ':app'
4
6
  includeBuild('../node_modules/@react-native/gradle-plugin')
@@ -725,6 +725,7 @@
725
725
  OTHER_LDFLAGS = "$(inherited)";
726
726
  REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
727
727
  SDKROOT = iphoneos;
728
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
728
729
  TARGETED_DEVICE_FAMILY = "1,2";
729
730
  USE_HERMES = true;
730
731
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "TapjoyReactNativeSdkExample",
3
- "version": "14.1.1",
3
+ "version": "14.2.0",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "android": "react-native run-android",
@@ -9,28 +9,28 @@
9
9
  "pods": "pod-install --quiet"
10
10
  },
11
11
  "dependencies": {
12
- "@react-native-async-storage/async-storage": "^1.21.0",
12
+ "@react-native-async-storage/async-storage": "^2.0.0",
13
13
  "@react-native-community/masked-view": "^0.1.11",
14
- "@react-native-picker/picker": "^2.6.1",
15
- "@react-navigation/bottom-tabs": "^6.5.11",
16
- "@react-navigation/native": "^6.1.9",
17
- "dayjs": "^1.11.10",
18
- "react": "18.2.0",
19
- "react-native": "0.74.1",
20
- "react-native-gesture-handler": "^2.14.1",
21
- "react-native-picker-select": "^9.0.0",
22
- "react-native-reanimated": "^3.6.1",
23
- "react-native-safe-area-context": "^4.8.2",
24
- "react-native-screens": "^3.29.0",
14
+ "@react-native-picker/picker": "^2.8.1",
15
+ "@react-navigation/bottom-tabs": "^6.6.1",
16
+ "@react-navigation/native": "^6.1.18",
17
+ "dayjs": "^1.11.13",
18
+ "react": "18.3.1",
19
+ "react-native": "0.75.3",
20
+ "react-native-gesture-handler": "^2.20.0",
21
+ "react-native-picker-select": "^9.3.1",
22
+ "react-native-reanimated": "^3.15.3",
23
+ "react-native-safe-area-context": "^4.11.0",
24
+ "react-native-screens": "^3.34.0",
25
25
  "react-native-tracking-transparency": "^0.1.2",
26
- "react-native-toast-message": "^2.2.0"
26
+ "react-native-toast-message": "^2.2.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@babel/core": "^7.23.7",
30
- "@babel/preset-env": "^7.23.8",
31
- "@babel/runtime": "^7.23.8",
32
- "babel-plugin-module-resolver": "^5.0.0",
33
- "@react-native/metro-config": "^0.74.83",
29
+ "@babel/core": "^7.25.2",
30
+ "@babel/preset-env": "^7.25.4",
31
+ "@babel/runtime": "^7.25.6",
32
+ "babel-plugin-module-resolver": "^5.0.2",
33
+ "@react-native/metro-config": "^0.75.3",
34
34
  "metro-react-native-babel-preset": "0.77.0"
35
35
  },
36
36
  "engines": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tapjoy-react-native-sdk",
3
- "version": "14.1.1",
3
+ "version": "14.2.0",
4
4
  "description": "ReactNative Plugin for Tapjoy SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -51,10 +51,10 @@
51
51
  "prepare-staging-repo": "rm -rf temp package && mkdir temp && cd temp && git clone git@github.com:Tapjoy/react-native-sdk-staging.git . && rm -rf *",
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
- "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",
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 && yarn tag-branch",
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 && yarn tag-branch",
56
56
  "doc": "typedoc --entryPointStrategy expand src/*",
57
- "tag-main": "export VERSION=`node -p \"require('./package.json').version\"` && git tag $VERSION && git push origin $VERSION"
57
+ "tag-branch": "export VERSION=`node -p \"require('./package.json').version\"` && git tag $VERSION && git push origin $VERSION"
58
58
  },
59
59
  "keywords": [
60
60
  "react-native",
@@ -74,26 +74,26 @@
74
74
  "registry": "https://registry.npmjs.org/"
75
75
  },
76
76
  "devDependencies": {
77
- "@commitlint/config-conventional": "^18.4.4",
77
+ "@commitlint/config-conventional": "^19.5.0",
78
78
  "@react-native-community/eslint-config": "^3.2.0",
79
- "@react-native/metro-config": "^0.74.83",
80
- "@types/jest": "^29.5.11",
81
- "@types/react": "^18.2.48",
82
- "commitlint": "^18.4.4",
79
+ "@react-native/metro-config": "^0.75.3",
80
+ "@types/jest": "^29.5.13",
81
+ "@types/react": "^18.3.10",
82
+ "commitlint": "^19.5.0",
83
83
  "del-cli": "^5.1.0",
84
- "eslint": "^8.56.0",
84
+ "eslint": "^9.11.1",
85
85
  "eslint-config-prettier": "^9.1.0",
86
- "eslint-plugin-prettier": "^5.1.3",
86
+ "eslint-plugin-prettier": "^5.2.1",
87
87
  "jest": "^29.7.0",
88
- "pod-install": "^0.2.0",
89
- "prettier": "^3.2.4",
88
+ "pod-install": "^0.2.2",
89
+ "prettier": "^3.3.3",
90
90
  "react": "^18.3.1",
91
- "typedoc": "^0.25.0",
92
- "react-native": "^0.74.1",
93
- "typescript": "^5.3.3"
91
+ "typedoc": "^0.26.7",
92
+ "react-native": "^0.75.3",
93
+ "typescript": "^5.6.2"
94
94
  },
95
95
  "resolutions": {
96
- "@types/react": "^18.2.48"
96
+ "@types/react": "^18.3.10"
97
97
  },
98
98
  "peerDependencies": {
99
99
  "react": "*",
@@ -102,7 +102,7 @@
102
102
  "engines": {
103
103
  "node": ">= 18"
104
104
  },
105
- "packageManager": "^yarn@1.22.15",
105
+ "packageManager": "^yarn@1.22.19",
106
106
  "jest": {
107
107
  "preset": "react-native",
108
108
  "modulePathIgnorePatterns": [
@@ -146,6 +146,6 @@
146
146
  "useTabs": false
147
147
  },
148
148
  "dependencies": {
149
- "eventemitter3": "^5.0.0"
149
+ "eventemitter3": "^5.0.1"
150
150
  }
151
151
  }
package/src/TJVersion.ts CHANGED
@@ -1,4 +1,4 @@
1
- const REACT_LIBRARY_VERSION = '14.1.1';
1
+ const REACT_LIBRARY_VERSION = '14.2.0';
2
2
  const REACT_LIBRARY_VERSION_SUFFIX = '';
3
3
 
4
4
  export class TJVersion {
@@ -11,13 +11,13 @@ Pod::Spec.new do |s|
11
11
  s.license = package["license"]
12
12
  s.authors = package["author"]
13
13
 
14
- s.platforms = { :ios => "11.0" }
14
+ s.platforms = { :ios => "12.0" }
15
15
  s.source = { :git => "https://github.com/Tapjoy/react-native-sdk.git", :tag => "#{s.version}" }
16
16
 
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
18
 
19
19
  s.dependency "React-Core"
20
- s.dependency "TapjoySDK", "14.1.1"
20
+ s.dependency "TapjoySDK", "14.2.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