tapjoy-react-native-sdk 14.1.1 → 14.2.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/android/build.gradle +1 -1
- package/android/gradle.properties +1 -1
- package/example/Gemfile +3 -4
- package/example/android/app/build.gradle +11 -11
- package/example/android/app/src/main/AndroidManifest.xml +2 -1
- package/example/android/build.gradle +1 -1
- package/example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/example/android/gradle.properties +0 -2
- package/example/android/gradlew +1 -1
- package/example/android/settings.gradle +3 -1
- package/example/ios/TapjoyReactNativeSdkExample.xcodeproj/project.pbxproj +1 -0
- package/example/package.json +19 -19
- package/package.json +19 -19
- package/src/TJVersion.ts +1 -1
- package/tapjoy-react-native-sdk.podspec +2 -2
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
84
|
+
implementation 'com.tapjoy:tapjoy-android-sdk:14.2.1'
|
|
85
85
|
implementation "com.google.android.gms:play-services-ads-identifier:18.0.1"
|
|
86
86
|
}
|
|
87
87
|
|
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
|
-
#
|
|
7
|
-
|
|
8
|
-
gem '
|
|
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
|
|
14
|
-
// reactNativeDir = file("
|
|
15
|
-
// The folder where the react-native Codegen package is. Default is
|
|
16
|
-
// codegenDir = file("
|
|
17
|
-
// The cli.js file which is the React Native CLI entrypoint. Default is
|
|
18
|
-
// cliFile = file("
|
|
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.
|
|
120
|
+
implementation 'com.tapjoy:tapjoy-android-sdk:14.2.1'
|
|
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"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.
|
|
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
|
package/example/android/gradlew
CHANGED
|
@@ -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/
|
|
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
|
};
|
package/example/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "TapjoyReactNativeSdkExample",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.2.1",
|
|
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": "^
|
|
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.
|
|
15
|
-
"@react-navigation/bottom-tabs": "^6.
|
|
16
|
-
"@react-navigation/native": "^6.1.
|
|
17
|
-
"dayjs": "^1.11.
|
|
18
|
-
"react": "18.
|
|
19
|
-
"react-native": "0.
|
|
20
|
-
"react-native-gesture-handler": "^2.
|
|
21
|
-
"react-native-picker-select": "^9.
|
|
22
|
-
"react-native-reanimated": "^3.
|
|
23
|
-
"react-native-safe-area-context": "^4.
|
|
24
|
-
"react-native-screens": "^3.
|
|
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.
|
|
26
|
+
"react-native-toast-message": "^2.2.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@babel/core": "^7.
|
|
30
|
-
"@babel/preset-env": "^7.
|
|
31
|
-
"@babel/runtime": "^7.
|
|
32
|
-
"babel-plugin-module-resolver": "^5.0.
|
|
33
|
-
"@react-native/metro-config": "^0.
|
|
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.
|
|
3
|
+
"version": "14.2.1",
|
|
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-
|
|
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": "^
|
|
77
|
+
"@commitlint/config-conventional": "^19.5.0",
|
|
78
78
|
"@react-native-community/eslint-config": "^3.2.0",
|
|
79
|
-
"@react-native/metro-config": "^0.
|
|
80
|
-
"@types/jest": "^29.5.
|
|
81
|
-
"@types/react": "^18.
|
|
82
|
-
"commitlint": "^
|
|
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": "^
|
|
84
|
+
"eslint": "^9.11.1",
|
|
85
85
|
"eslint-config-prettier": "^9.1.0",
|
|
86
|
-
"eslint-plugin-prettier": "^5.1
|
|
86
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
87
87
|
"jest": "^29.7.0",
|
|
88
|
-
"pod-install": "^0.2.
|
|
89
|
-
"prettier": "^3.
|
|
88
|
+
"pod-install": "^0.2.2",
|
|
89
|
+
"prettier": "^3.3.3",
|
|
90
90
|
"react": "^18.3.1",
|
|
91
|
-
"typedoc": "^0.
|
|
92
|
-
"react-native": "^0.
|
|
93
|
-
"typescript": "^5.
|
|
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.
|
|
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.
|
|
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.
|
|
149
|
+
"eventemitter3": "^5.0.1"
|
|
150
150
|
}
|
|
151
151
|
}
|
package/src/TJVersion.ts
CHANGED
|
@@ -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 => "
|
|
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.
|
|
20
|
+
s.dependency "TapjoySDK", "14.2.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
|