airbridge-react-native-sdk-restricted 4.5.1 → 4.6.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.
- package/.github/workflows/release.yml +1 -1
- package/airbridge_sdk.json +2 -2
- package/changelog.md +7 -0
- package/package.json +1 -1
- package/qa/airbridge_qa.json +1 -1
- package/qa/ios/InternalLibrary/airbridge-ios-sdk-restricted.podspec +3 -3
- package/qa/ios/Podfile +1 -1
- package/qa/package-lock.json +2 -2
- package/qa/package.json +1 -1
- package/qa/run-test-env.sh +54 -0
- package/qa/{airbridge.development.json → test/airbridge.development.json} +1 -0
- package/qa/test/airbridge.test-dev200.json +4 -0
- package/qa/test/airbridge.test-dev@notsupport.json +4 -0
- package/qa/test/airbridge.test_dev201.json +4 -0
- package/script/ChangeRestricted.sh +3 -1
package/airbridge_sdk.json
CHANGED
package/changelog.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## 4.6.0
|
|
2
|
+
|
|
3
|
+
**CHANGED**
|
|
4
|
+
* In-app purchase measurement is now officially supported. The in-app purchase measurement feature will no longer be supported in earlier versions.
|
|
5
|
+
* Update `Airbridge Android SDK` to 4.6.0
|
|
6
|
+
* Update `Airbridge iOS SDK` to 4.6.0
|
|
7
|
+
|
|
1
8
|
## 4.5.1
|
|
2
9
|
|
|
3
10
|
**ADDED**
|
package/package.json
CHANGED
package/qa/airbridge_qa.json
CHANGED
|
@@ -19,9 +19,9 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
s.source = {
|
|
20
20
|
:http => "https://sdk-internal.airbridge.io/build/airbridge-ios-sdk/#{airbridge_qa['internal_library']['ios_version']}/AirbridgeRestricted.zip"
|
|
21
21
|
}
|
|
22
|
-
s.preserve_paths = '
|
|
23
|
-
s.source_files = '
|
|
24
|
-
s.vendored_frameworks = '
|
|
22
|
+
s.preserve_paths = 'AirbridgeRestricted'
|
|
23
|
+
s.source_files = 'AirbridgeRestricted/.Source/Airbridge.swift'
|
|
24
|
+
s.vendored_frameworks = 'AirbridgeRestricted/Airbridge.xcframework'
|
|
25
25
|
|
|
26
26
|
s.summary = 'Airbridge SDK for iOS'
|
|
27
27
|
s.description = <<-DESC
|
package/qa/ios/Podfile
CHANGED
|
@@ -30,7 +30,7 @@ target 'AirbridgeQA' do
|
|
|
30
30
|
if airbridge_qa['internal_library']['ios_version'].nil?
|
|
31
31
|
pod 'airbridge-ios-sdk-qa-library', :podspec => 'Library/airbridge-ios-sdk-qa-library.podspec'
|
|
32
32
|
else
|
|
33
|
-
pod 'airbridge-ios-sdk-restricted', :podspec => 'InternalLibrary/airbridge-ios-restricted.podspec'
|
|
33
|
+
pod 'airbridge-ios-sdk-restricted', :podspec => 'InternalLibrary/airbridge-ios-sdk-restricted.podspec'
|
|
34
34
|
pod 'airbridge-ios-sdk-qa-library', :podspec => 'InternalLibrary/airbridge-ios-sdk-qa-library.podspec'
|
|
35
35
|
end
|
|
36
36
|
|
package/qa/package-lock.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"airbridge-react-native-sdk-restricted": "file:..",
|
|
15
15
|
"react": "18.3.1",
|
|
16
16
|
"react-native": "0.75.1",
|
|
17
|
-
"react-native-gesture-handler": "
|
|
17
|
+
"react-native-gesture-handler": "2.25.0",
|
|
18
18
|
"react-native-native-log": "^0.1.3",
|
|
19
19
|
"react-native-safe-area-context": "^4.10.8",
|
|
20
20
|
"react-native-screens": "^3.33.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"..": {
|
|
46
|
-
"version": "4.
|
|
46
|
+
"version": "4.6.0",
|
|
47
47
|
"license": "MIT",
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/jest": "^29.5.12",
|
package/qa/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"airbridge-react-native-sdk-restricted": "file:..",
|
|
22
22
|
"react": "18.3.1",
|
|
23
23
|
"react-native": "0.75.1",
|
|
24
|
-
"react-native-gesture-handler": "
|
|
24
|
+
"react-native-gesture-handler": "2.25.0",
|
|
25
25
|
"react-native-native-log": "^0.1.3",
|
|
26
26
|
"react-native-safe-area-context": "^4.10.8",
|
|
27
27
|
"react-native-screens": "^3.33.0",
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
echo "Select Platform"
|
|
4
|
+
echo " 1. android"
|
|
5
|
+
echo " 2. ios"
|
|
6
|
+
|
|
7
|
+
read -p "Select Platform: " PLATFORM
|
|
8
|
+
echo ""
|
|
9
|
+
|
|
10
|
+
if [ $PLATFORM == "1" ]; then
|
|
11
|
+
export RUN_PLATFORM=run-android
|
|
12
|
+
elif [ $PLATFORM == "2" ]; then
|
|
13
|
+
export RUN_PLATFORM=run-ios
|
|
14
|
+
else
|
|
15
|
+
exit 1
|
|
16
|
+
fi
|
|
17
|
+
|
|
18
|
+
echo "Select AIRBRIDGE_ENVIRONMENT"
|
|
19
|
+
echo " 1. default"
|
|
20
|
+
echo " 2. development"
|
|
21
|
+
echo " 3. test-dev200"
|
|
22
|
+
echo " 4. test_dev201"
|
|
23
|
+
echo " 5. test-dev@notsupport"
|
|
24
|
+
echo " 6. test-not-exist"
|
|
25
|
+
|
|
26
|
+
read -p "Enter your environment (default: 1): " INPUT
|
|
27
|
+
echo ""
|
|
28
|
+
|
|
29
|
+
if [ $INPUT == "1" ]; then
|
|
30
|
+
echo "select default env"
|
|
31
|
+
elif [ $INPUT == "2" ]; then
|
|
32
|
+
export AIRBRIDGE_ENVIRONMENT=development
|
|
33
|
+
elif [ $INPUT == "3" ]; then
|
|
34
|
+
export AIRBRIDGE_ENVIRONMENT=test-dev200
|
|
35
|
+
elif [ $INPUT == "4" ]; then
|
|
36
|
+
export AIRBRIDGE_ENVIRONMENT=test_dev201
|
|
37
|
+
elif [ $INPUT == "5" ]; then
|
|
38
|
+
export AIRBRIDGE_ENVIRONMENT=test-dev@notsupport
|
|
39
|
+
elif [ $INPUT == "6" ]; then
|
|
40
|
+
export AIRBRIDGE_ENVIRONMENT=test-not-exist
|
|
41
|
+
else
|
|
42
|
+
echo "select wrong. set default env"
|
|
43
|
+
fi
|
|
44
|
+
|
|
45
|
+
cp "test/airbridge.$AIRBRIDGE_ENVIRONMENT.json" .
|
|
46
|
+
|
|
47
|
+
echo ""
|
|
48
|
+
echo "###############################################"
|
|
49
|
+
echo "## RUN_PLATFORM: $RUN_PLATFORM"
|
|
50
|
+
echo "## AIRBRIDGE_ENVIRONMENT: $AIRBRIDGE_ENVIRONMENT"
|
|
51
|
+
echo "###############################################"
|
|
52
|
+
echo ""
|
|
53
|
+
|
|
54
|
+
react-native $RUN_PLATFORM --port=9000
|
|
@@ -27,9 +27,11 @@ perl -i -pe "s/from 'airbridge-react-native-sdk'/from 'airbridge-react-native-sd
|
|
|
27
27
|
perl -i -pe "s/from 'airbridge-react-native-sdk'/from 'airbridge-react-native-sdk-restricted'/g" "$ROOT_DIRECTORY"/qa/source/**/*
|
|
28
28
|
perl -i -pe "s/= 'airbridge-ios-sdk'/= 'airbridge-ios-sdk-restricted'/g" "$ROOT_DIRECTORY/qa/ios/InternalLibrary/airbridge-ios-sdk.podspec"
|
|
29
29
|
perl -i -pe 's/Airbridge.zip"/AirbridgeRestricted.zip"/g' "$ROOT_DIRECTORY/qa/ios/InternalLibrary/airbridge-ios-sdk.podspec"
|
|
30
|
+
perl -i -pe "s/'Airbridge'/'AirbridgeRestricted'/g" "$ROOT_DIRECTORY/qa/ios/InternalLibrary/airbridge-ios-sdk.podspec"
|
|
31
|
+
perl -i -pe "s!'Airbridge/!'AirbridgeRestricted/!g" "$ROOT_DIRECTORY/qa/ios/InternalLibrary/airbridge-ios-sdk.podspec"
|
|
30
32
|
mv "$ROOT_DIRECTORY/qa/ios/InternalLibrary/airbridge-ios-sdk.podspec" "$ROOT_DIRECTORY/qa/ios/InternalLibrary/airbridge-ios-sdk-restricted.podspec"
|
|
31
33
|
perl -i -pe "s/pod 'airbridge-ios-sdk'/pod 'airbridge-ios-sdk-restricted'/g" "$ROOT_DIRECTORY/qa/ios/Podfile"
|
|
32
|
-
perl -i -pe "s!:podspec => 'InternalLibrary/airbridge-ios-sdk.podspec'!:podspec => 'InternalLibrary/airbridge-ios-restricted.podspec'!g" "$ROOT_DIRECTORY/qa/ios/Podfile"
|
|
34
|
+
perl -i -pe "s!:podspec => 'InternalLibrary/airbridge-ios-sdk.podspec'!:podspec => 'InternalLibrary/airbridge-ios-sdk-restricted.podspec'!g" "$ROOT_DIRECTORY/qa/ios/Podfile"
|
|
33
35
|
perl -i -pe 's/implementation "io.airbridge:sdk-android:/implementation "io.airbridge:sdk-android-restricted:/g' "$ROOT_DIRECTORY/qa/android/app/build.gradle"
|
|
34
36
|
|
|
35
37
|
echo 'Done'
|