react-native-repro 3.23.0 → 4.0.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/React-Repro.podspec +2 -2
- package/android/build.gradle +28 -1
- package/android/src/main/java/io/repro/android/reactbridge/{ReproReactBridgeModule.java → ReproReactBridgeModuleImpl.java} +265 -67
- package/android/src/main/java/io/repro/android/reactbridge/{ReproRemoteConfigBridge.java → ReproRemoteConfigBridgeModuleImpl.java} +19 -34
- package/android/src/newarch/java/io/repro/android/reactbridge/ReproEventEmitterOpenUrlModule.java +54 -0
- package/android/src/newarch/java/io/repro/android/reactbridge/ReproReactBridgeModule.java +367 -0
- package/android/src/newarch/java/io/repro/android/reactbridge/ReproReactBridgePackage.java +78 -0
- package/android/src/newarch/java/io/repro/android/reactbridge/ReproRemoteConfigBridgeModule.java +79 -0
- package/android/src/{main/java/io/repro/android/reactbridge/ReproEventEmitterOpenUrl.java → oldarch/java/io/repro/android/reactbridge/ReproEventEmitterOpenUrlModule.java} +4 -4
- package/android/src/oldarch/java/io/repro/android/reactbridge/ReproReactBridgeModule.java +365 -0
- package/android/src/oldarch/java/io/repro/android/reactbridge/ReproReactBridgePackage.java +29 -0
- package/android/src/oldarch/java/io/repro/android/reactbridge/ReproRemoteConfigBridgeModule.java +77 -0
- package/index.js +45 -228
- package/ios/RPRReproReactBridge.h +19 -4
- package/ios/{RPRReproReactBridge.m → RPRReproReactBridge.mm} +662 -187
- package/ios/RPRReproReactBridgeImpl.h +111 -0
- package/ios/RPRReproReactBridgeImpl.m +713 -0
- package/package.json +22 -1
- package/sdk-android/io/repro/repro-android-sdk/5.20.0/repro-android-sdk-5.20.0.aar +0 -0
- package/sdk-android/io/repro/repro-android-sdk/5.20.0/repro-android-sdk-5.20.0.aar.md5 +1 -0
- package/sdk-android/io/repro/repro-android-sdk/5.20.0/repro-android-sdk-5.20.0.aar.sha1 +1 -0
- package/sdk-android/io/repro/repro-android-sdk/5.20.0/repro-android-sdk-5.20.0.pom +24 -0
- package/sdk-android/io/repro/repro-android-sdk/5.20.0/repro-android-sdk-5.20.0.pom.md5 +1 -0
- package/sdk-android/io/repro/repro-android-sdk/5.20.0/repro-android-sdk-5.20.0.pom.sha1 +1 -0
- package/sdk-android/io/repro/repro-android-sdk/maven-metadata.xml +3 -3
- package/sdk-android/io/repro/repro-android-sdk/maven-metadata.xml.md5 +1 -1
- package/sdk-android/io/repro/repro-android-sdk/maven-metadata.xml.sha1 +1 -1
- package/sdk-ios/Repro.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/sdk-ios/Repro.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/sdk-ios/Repro.xcframework/_CodeSignature/CodeResources +18 -18
- package/sdk-ios/Repro.xcframework/_CodeSignature/CodeSignature +0 -0
- package/sdk-ios/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Headers/Repro.h +63 -0
- package/sdk-ios/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Info.plist +0 -0
- package/sdk-ios/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Repro +0 -0
- package/sdk-ios/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/Repro.h +63 -0
- package/sdk-ios/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Info.plist +0 -0
- package/sdk-ios/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Repro +0 -0
- package/src/EventEmitterOpenUrl.js +24 -0
- package/src/NativeReproEventEmitterOpenUrl.ts +9 -0
- package/src/NativeReproReactBridge.ts +134 -0
- package/src/NativeReproRemoteConfigBridge.ts +26 -0
- package/src/NewsFeedManager.js +149 -0
- package/android/src/main/java/io/repro/android/reactbridge/ReproReactBridgePackage.java +0 -36
- package/repro-version.json +0 -5
- package/sdk-android/io/repro/repro-android-sdk/5.19.0/repro-android-sdk-5.19.0.aar +0 -0
- package/sdk-android/io/repro/repro-android-sdk/5.19.0/repro-android-sdk-5.19.0.aar.md5 +0 -1
- package/sdk-android/io/repro/repro-android-sdk/5.19.0/repro-android-sdk-5.19.0.aar.sha1 +0 -1
- package/sdk-android/io/repro/repro-android-sdk/5.19.0/repro-android-sdk-5.19.0.pom +0 -9
- package/sdk-android/io/repro/repro-android-sdk/5.19.0/repro-android-sdk-5.19.0.pom.md5 +0 -1
- package/sdk-android/io/repro/repro-android-sdk/5.19.0/repro-android-sdk-5.19.0.pom.sha1 +0 -1
package/package.json
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-repro",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Repro is a mobile analytics tool that lets you have much deeper understanding of mobile app users.",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"react-native": "index.js",
|
|
7
|
+
"source": "index.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"src",
|
|
10
|
+
"android",
|
|
11
|
+
"ios",
|
|
12
|
+
"React-Repro.podspec",
|
|
13
|
+
"sdk-ios",
|
|
14
|
+
"sdk-android",
|
|
15
|
+
"!android/build",
|
|
16
|
+
"!ios/build"
|
|
17
|
+
],
|
|
6
18
|
"keywords": [
|
|
7
19
|
"repro",
|
|
8
20
|
"react-native",
|
|
@@ -24,6 +36,15 @@
|
|
|
24
36
|
"license": "LicenseRef-LICENSE",
|
|
25
37
|
"homepage": "https://repro.io",
|
|
26
38
|
"peerDependencies": {
|
|
39
|
+
"react": "*",
|
|
27
40
|
"react-native": "*"
|
|
41
|
+
},
|
|
42
|
+
"codegenConfig": {
|
|
43
|
+
"name": "ReproSpec",
|
|
44
|
+
"type": "modules",
|
|
45
|
+
"jsSrcsDir": "src",
|
|
46
|
+
"android": {
|
|
47
|
+
"javaPackageName": "io.repro.android.reactbridge"
|
|
48
|
+
}
|
|
28
49
|
}
|
|
29
50
|
}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0b26bedc446a282d385a098e1e085f49
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3bb4f0113b97fa0272c7985764be132014fa1450
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
4
|
+
|
|
5
|
+
<modelVersion>4.0.0</modelVersion>
|
|
6
|
+
|
|
7
|
+
<groupId>io.repro</groupId>
|
|
8
|
+
<artifactId>repro-android-sdk</artifactId>
|
|
9
|
+
<version>5.20.0</version>
|
|
10
|
+
<packaging>aar</packaging>
|
|
11
|
+
|
|
12
|
+
<name>Repro</name>
|
|
13
|
+
<description>Repro is a mobile analytics tool that lets you have much deeper understanding of mobile app users.</description>
|
|
14
|
+
<url>https://repro.io</url>
|
|
15
|
+
|
|
16
|
+
<licenses>
|
|
17
|
+
<license>
|
|
18
|
+
<name>LicenseRef-Repro-SDK-License</name>
|
|
19
|
+
<url>https://cdn.reproio.com/android/io/repro/repro-android-sdk/5.20.0/LICENSE</url>
|
|
20
|
+
<distribution>repo</distribution>
|
|
21
|
+
<comments>See LICENSE file</comments>
|
|
22
|
+
</license>
|
|
23
|
+
</licenses>
|
|
24
|
+
</project>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3d4287d5e8f58d583bb6a108d9f64565
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
25951f2e51219630d67d6ac3ab0183e6710b1eb7
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
<groupId>io.repro</groupId>
|
|
4
4
|
<artifactId>repro-android-sdk</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<release>5.
|
|
6
|
+
<release>5.20.0</release>
|
|
7
7
|
<versions>
|
|
8
|
-
<version>5.
|
|
8
|
+
<version>5.20.0</version>
|
|
9
9
|
</versions>
|
|
10
|
-
<lastUpdated>
|
|
10
|
+
<lastUpdated>20250730131047</lastUpdated>
|
|
11
11
|
</versioning>
|
|
12
12
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ff4db7b380e173ac01f42dc4a7b3f2dc
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0d784a2f8c4a5eb93c90469eb9b2ab0dacb6a609
|
|
Binary file
|
|
Binary file
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
</data>
|
|
23
23
|
<key>ios-arm64_armv7_armv7s/Repro.framework/Headers/Repro.h</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
2MLt0k+D6xaQsxA0FiQaLZdmwC0=
|
|
26
26
|
</data>
|
|
27
27
|
<key>ios-arm64_armv7_armv7s/Repro.framework/Info.plist</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
Nk/O1/RLiTreMjEOrm30gOtBgU8=
|
|
30
30
|
</data>
|
|
31
31
|
<key>ios-arm64_armv7_armv7s/Repro.framework/Modules/module.modulemap</key>
|
|
32
32
|
<data>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</data>
|
|
39
39
|
<key>ios-arm64_armv7_armv7s/Repro.framework/Repro</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
veXFK7AKv9JjU0ESbzdAMKrbJEk=
|
|
42
42
|
</data>
|
|
43
43
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPREventProperties.h</key>
|
|
44
44
|
<data>
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
</data>
|
|
59
59
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/Repro.h</key>
|
|
60
60
|
<data>
|
|
61
|
-
|
|
61
|
+
2MLt0k+D6xaQsxA0FiQaLZdmwC0=
|
|
62
62
|
</data>
|
|
63
63
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Info.plist</key>
|
|
64
64
|
<data>
|
|
65
|
-
|
|
65
|
+
1U5K6Xob4ncbssB8QH1uyAqN6WE=
|
|
66
66
|
</data>
|
|
67
67
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Modules/module.modulemap</key>
|
|
68
68
|
<data>
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
</data>
|
|
75
75
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Repro</key>
|
|
76
76
|
<data>
|
|
77
|
-
|
|
77
|
+
4VWfsM7IQjPVnsaVC6qv0mkHvM4=
|
|
78
78
|
</data>
|
|
79
79
|
</dict>
|
|
80
80
|
<key>files2</key>
|
|
@@ -127,22 +127,22 @@
|
|
|
127
127
|
<dict>
|
|
128
128
|
<key>hash</key>
|
|
129
129
|
<data>
|
|
130
|
-
|
|
130
|
+
2MLt0k+D6xaQsxA0FiQaLZdmwC0=
|
|
131
131
|
</data>
|
|
132
132
|
<key>hash2</key>
|
|
133
133
|
<data>
|
|
134
|
-
|
|
134
|
+
TKYEuw8EHz9bTdy5FcU6rMSJFqxOgM5vMlb3RVHR8zw=
|
|
135
135
|
</data>
|
|
136
136
|
</dict>
|
|
137
137
|
<key>ios-arm64_armv7_armv7s/Repro.framework/Info.plist</key>
|
|
138
138
|
<dict>
|
|
139
139
|
<key>hash</key>
|
|
140
140
|
<data>
|
|
141
|
-
|
|
141
|
+
Nk/O1/RLiTreMjEOrm30gOtBgU8=
|
|
142
142
|
</data>
|
|
143
143
|
<key>hash2</key>
|
|
144
144
|
<data>
|
|
145
|
-
|
|
145
|
+
C8av7u+ROzY/OSGm/w5frzfkfPBEY/rsP0UQpwILMS4=
|
|
146
146
|
</data>
|
|
147
147
|
</dict>
|
|
148
148
|
<key>ios-arm64_armv7_armv7s/Repro.framework/Modules/module.modulemap</key>
|
|
@@ -171,11 +171,11 @@
|
|
|
171
171
|
<dict>
|
|
172
172
|
<key>hash</key>
|
|
173
173
|
<data>
|
|
174
|
-
|
|
174
|
+
veXFK7AKv9JjU0ESbzdAMKrbJEk=
|
|
175
175
|
</data>
|
|
176
176
|
<key>hash2</key>
|
|
177
177
|
<data>
|
|
178
|
-
|
|
178
|
+
S1AaVjsAtsgZtG3KqzbsbNYZT6aFSpmnMnepqQL1BiY=
|
|
179
179
|
</data>
|
|
180
180
|
</dict>
|
|
181
181
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPREventProperties.h</key>
|
|
@@ -226,22 +226,22 @@
|
|
|
226
226
|
<dict>
|
|
227
227
|
<key>hash</key>
|
|
228
228
|
<data>
|
|
229
|
-
|
|
229
|
+
2MLt0k+D6xaQsxA0FiQaLZdmwC0=
|
|
230
230
|
</data>
|
|
231
231
|
<key>hash2</key>
|
|
232
232
|
<data>
|
|
233
|
-
|
|
233
|
+
TKYEuw8EHz9bTdy5FcU6rMSJFqxOgM5vMlb3RVHR8zw=
|
|
234
234
|
</data>
|
|
235
235
|
</dict>
|
|
236
236
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Info.plist</key>
|
|
237
237
|
<dict>
|
|
238
238
|
<key>hash</key>
|
|
239
239
|
<data>
|
|
240
|
-
|
|
240
|
+
1U5K6Xob4ncbssB8QH1uyAqN6WE=
|
|
241
241
|
</data>
|
|
242
242
|
<key>hash2</key>
|
|
243
243
|
<data>
|
|
244
|
-
|
|
244
|
+
0Qy6iShzVDp3GaC5cRNUkyyePiwEIzZlsCkxHjZtFTg=
|
|
245
245
|
</data>
|
|
246
246
|
</dict>
|
|
247
247
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Modules/module.modulemap</key>
|
|
@@ -270,11 +270,11 @@
|
|
|
270
270
|
<dict>
|
|
271
271
|
<key>hash</key>
|
|
272
272
|
<data>
|
|
273
|
-
|
|
273
|
+
4VWfsM7IQjPVnsaVC6qv0mkHvM4=
|
|
274
274
|
</data>
|
|
275
275
|
<key>hash2</key>
|
|
276
276
|
<data>
|
|
277
|
-
|
|
277
|
+
VroyzL0X/TgNry0yu6vJpuKa+Bq2f4rXCpFdgly43zQ=
|
|
278
278
|
</data>
|
|
279
279
|
</dict>
|
|
280
280
|
</dict>
|
|
Binary file
|
|
@@ -52,30 +52,93 @@ NS_SWIFT_NAME(deviceID());
|
|
|
52
52
|
+ (void)setStringUserProfile:(nonnull NSString *)value forKey:(nonnull NSString *)key
|
|
53
53
|
NS_SWIFT_NAME(setUserProfile(stringValue:forKey:));
|
|
54
54
|
|
|
55
|
+
+ (void)onlySetIfAbsentStringUserProfile:(nonnull NSString *)value forKey:(nonnull NSString *)key
|
|
56
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(stringValue:forKey:));
|
|
57
|
+
|
|
55
58
|
+ (void)setIntUserProfile:(NSInteger)value forKey:(nonnull NSString *)key
|
|
56
59
|
NS_SWIFT_NAME(setUserProfile(integerValue:forKey:));
|
|
57
60
|
|
|
61
|
+
+ (void)incrementIntUserProfileBy:(NSInteger)amount forKey:(nonnull NSString *)key
|
|
62
|
+
NS_SWIFT_NAME(incrementIntegerUserProfile(by:forKey:));
|
|
63
|
+
|
|
64
|
+
+ (void)decrementIntUserProfileBy:(NSInteger)amount forKey:(nonnull NSString *)key
|
|
65
|
+
NS_SWIFT_NAME(decrementIntegerUserProfile(by:forKey:));
|
|
66
|
+
|
|
67
|
+
+ (void)onlySetIfAbsentIntUserProfile:(NSInteger)value forKey:(nonnull NSString *)key
|
|
68
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(integerValue:forKey:));
|
|
69
|
+
|
|
58
70
|
+ (void)setDoubleUserProfile:(double)value forKey:(nonnull NSString *)key
|
|
59
71
|
NS_SWIFT_NAME(setUserProfile(doubleValue:forKey:));
|
|
60
72
|
|
|
73
|
+
+ (void)incrementDoubleUserProfileBy:(double)amount forKey:(nonnull NSString *)key
|
|
74
|
+
NS_SWIFT_NAME(incrementDoubleUserProfile(by:forKey:));
|
|
75
|
+
|
|
76
|
+
+ (void)decrementDoubleUserProfileBy:(double)amount forKey:(nonnull NSString *)key
|
|
77
|
+
NS_SWIFT_NAME(decrementDoubleUserProfile(by:forKey:));
|
|
78
|
+
|
|
79
|
+
+ (void)onlySetIfAbsentDoubleUserProfile:(double)value forKey:(nonnull NSString *)key
|
|
80
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(doubleValue:forKey:));
|
|
81
|
+
|
|
61
82
|
+ (void)setDateUserProfile:(nonnull NSDate *)value forKey:(nonnull NSString *)key
|
|
62
83
|
NS_SWIFT_NAME(setUserProfile(dateValue:forKey:));
|
|
63
84
|
|
|
85
|
+
+ (void)onlySetIfAbsentDateUserProfile:(nonnull NSDate *)value forKey:(nonnull NSString *)key
|
|
86
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(dateValue:forKey:));
|
|
87
|
+
|
|
64
88
|
+ (void)setUserGender:(RPRUserProfileGender)value
|
|
65
89
|
NS_SWIFT_NAME(setUserProfile(gender:));
|
|
66
90
|
|
|
91
|
+
+ (void)onlySetIfAbsentUserGender:(RPRUserProfileGender)value
|
|
92
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(gender:));
|
|
93
|
+
|
|
67
94
|
+ (void)setUserEmailAddress:(nonnull NSString *)value
|
|
68
95
|
NS_SWIFT_NAME(setUserProfile(emailAddress:));
|
|
69
96
|
|
|
97
|
+
+ (void)onlySetIfAbsentUserEmailAddress:(nonnull NSString *)value
|
|
98
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(emailAddress:));
|
|
99
|
+
|
|
70
100
|
+ (void)setUserResidencePrefecture:(RPRUserProfilePrefecture)value
|
|
71
101
|
NS_SWIFT_NAME(setUserProfile(residencePrefecture:));
|
|
72
102
|
|
|
103
|
+
+ (void)onlySetIfAbsentUserResidencePrefecture:(RPRUserProfilePrefecture)value
|
|
104
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(residencePrefecture:));
|
|
105
|
+
|
|
73
106
|
+ (void)setUserDateOfBirth:(nonnull NSDate *)value
|
|
74
107
|
NS_SWIFT_NAME(setUserProfile(dateOfBirth:));
|
|
75
108
|
|
|
109
|
+
+ (void)onlySetIfAbsentUserDateOfBirth:(nonnull NSDate *)value
|
|
110
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(dateOfBirth:));
|
|
111
|
+
|
|
76
112
|
+ (void)setUserAge:(NSInteger)value
|
|
77
113
|
NS_SWIFT_NAME(setUserProfile(age:));
|
|
78
114
|
|
|
115
|
+
+ (void)incrementUserAgeBy:(NSInteger)amount
|
|
116
|
+
NS_SWIFT_NAME(incrementUserProfileAge(by:));
|
|
117
|
+
|
|
118
|
+
+ (void)decrementUserAgeBy:(NSInteger)amount
|
|
119
|
+
NS_SWIFT_NAME(decrementUserProfileAge(by:));
|
|
120
|
+
|
|
121
|
+
+ (void)onlySetIfAbsentUserAge:(NSInteger)value
|
|
122
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(age:));
|
|
123
|
+
|
|
124
|
+
+ (void)deleteUserProfile:(nonnull NSString *)key
|
|
125
|
+
NS_SWIFT_NAME(deleteUserProfile(forKey:));
|
|
126
|
+
|
|
127
|
+
+ (void)deleteUserGender
|
|
128
|
+
NS_SWIFT_NAME(deleteUserProfileGender());
|
|
129
|
+
|
|
130
|
+
+ (void)deleteUserEmailAddress
|
|
131
|
+
NS_SWIFT_NAME(deleteUserProfileEmailAddress());
|
|
132
|
+
|
|
133
|
+
+ (void)deleteUserResidencePrefecture
|
|
134
|
+
NS_SWIFT_NAME(deleteUserProfileResidencePrefecture());
|
|
135
|
+
|
|
136
|
+
+ (void)deleteUserDateOfBirth
|
|
137
|
+
NS_SWIFT_NAME(deleteUserProfileDateOfBirth());
|
|
138
|
+
|
|
139
|
+
+ (void)deleteUserAge
|
|
140
|
+
NS_SWIFT_NAME(deleteUserProfileAge());
|
|
141
|
+
|
|
79
142
|
|
|
80
143
|
// Event tracking
|
|
81
144
|
+ (void)track:(nonnull NSString *)name
|
|
Binary file
|
|
Binary file
|
package/sdk-ios/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/Repro.h
CHANGED
|
@@ -52,30 +52,93 @@ NS_SWIFT_NAME(deviceID());
|
|
|
52
52
|
+ (void)setStringUserProfile:(nonnull NSString *)value forKey:(nonnull NSString *)key
|
|
53
53
|
NS_SWIFT_NAME(setUserProfile(stringValue:forKey:));
|
|
54
54
|
|
|
55
|
+
+ (void)onlySetIfAbsentStringUserProfile:(nonnull NSString *)value forKey:(nonnull NSString *)key
|
|
56
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(stringValue:forKey:));
|
|
57
|
+
|
|
55
58
|
+ (void)setIntUserProfile:(NSInteger)value forKey:(nonnull NSString *)key
|
|
56
59
|
NS_SWIFT_NAME(setUserProfile(integerValue:forKey:));
|
|
57
60
|
|
|
61
|
+
+ (void)incrementIntUserProfileBy:(NSInteger)amount forKey:(nonnull NSString *)key
|
|
62
|
+
NS_SWIFT_NAME(incrementIntegerUserProfile(by:forKey:));
|
|
63
|
+
|
|
64
|
+
+ (void)decrementIntUserProfileBy:(NSInteger)amount forKey:(nonnull NSString *)key
|
|
65
|
+
NS_SWIFT_NAME(decrementIntegerUserProfile(by:forKey:));
|
|
66
|
+
|
|
67
|
+
+ (void)onlySetIfAbsentIntUserProfile:(NSInteger)value forKey:(nonnull NSString *)key
|
|
68
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(integerValue:forKey:));
|
|
69
|
+
|
|
58
70
|
+ (void)setDoubleUserProfile:(double)value forKey:(nonnull NSString *)key
|
|
59
71
|
NS_SWIFT_NAME(setUserProfile(doubleValue:forKey:));
|
|
60
72
|
|
|
73
|
+
+ (void)incrementDoubleUserProfileBy:(double)amount forKey:(nonnull NSString *)key
|
|
74
|
+
NS_SWIFT_NAME(incrementDoubleUserProfile(by:forKey:));
|
|
75
|
+
|
|
76
|
+
+ (void)decrementDoubleUserProfileBy:(double)amount forKey:(nonnull NSString *)key
|
|
77
|
+
NS_SWIFT_NAME(decrementDoubleUserProfile(by:forKey:));
|
|
78
|
+
|
|
79
|
+
+ (void)onlySetIfAbsentDoubleUserProfile:(double)value forKey:(nonnull NSString *)key
|
|
80
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(doubleValue:forKey:));
|
|
81
|
+
|
|
61
82
|
+ (void)setDateUserProfile:(nonnull NSDate *)value forKey:(nonnull NSString *)key
|
|
62
83
|
NS_SWIFT_NAME(setUserProfile(dateValue:forKey:));
|
|
63
84
|
|
|
85
|
+
+ (void)onlySetIfAbsentDateUserProfile:(nonnull NSDate *)value forKey:(nonnull NSString *)key
|
|
86
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(dateValue:forKey:));
|
|
87
|
+
|
|
64
88
|
+ (void)setUserGender:(RPRUserProfileGender)value
|
|
65
89
|
NS_SWIFT_NAME(setUserProfile(gender:));
|
|
66
90
|
|
|
91
|
+
+ (void)onlySetIfAbsentUserGender:(RPRUserProfileGender)value
|
|
92
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(gender:));
|
|
93
|
+
|
|
67
94
|
+ (void)setUserEmailAddress:(nonnull NSString *)value
|
|
68
95
|
NS_SWIFT_NAME(setUserProfile(emailAddress:));
|
|
69
96
|
|
|
97
|
+
+ (void)onlySetIfAbsentUserEmailAddress:(nonnull NSString *)value
|
|
98
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(emailAddress:));
|
|
99
|
+
|
|
70
100
|
+ (void)setUserResidencePrefecture:(RPRUserProfilePrefecture)value
|
|
71
101
|
NS_SWIFT_NAME(setUserProfile(residencePrefecture:));
|
|
72
102
|
|
|
103
|
+
+ (void)onlySetIfAbsentUserResidencePrefecture:(RPRUserProfilePrefecture)value
|
|
104
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(residencePrefecture:));
|
|
105
|
+
|
|
73
106
|
+ (void)setUserDateOfBirth:(nonnull NSDate *)value
|
|
74
107
|
NS_SWIFT_NAME(setUserProfile(dateOfBirth:));
|
|
75
108
|
|
|
109
|
+
+ (void)onlySetIfAbsentUserDateOfBirth:(nonnull NSDate *)value
|
|
110
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(dateOfBirth:));
|
|
111
|
+
|
|
76
112
|
+ (void)setUserAge:(NSInteger)value
|
|
77
113
|
NS_SWIFT_NAME(setUserProfile(age:));
|
|
78
114
|
|
|
115
|
+
+ (void)incrementUserAgeBy:(NSInteger)amount
|
|
116
|
+
NS_SWIFT_NAME(incrementUserProfileAge(by:));
|
|
117
|
+
|
|
118
|
+
+ (void)decrementUserAgeBy:(NSInteger)amount
|
|
119
|
+
NS_SWIFT_NAME(decrementUserProfileAge(by:));
|
|
120
|
+
|
|
121
|
+
+ (void)onlySetIfAbsentUserAge:(NSInteger)value
|
|
122
|
+
NS_SWIFT_NAME(onlySetIfAbsentUserProfile(age:));
|
|
123
|
+
|
|
124
|
+
+ (void)deleteUserProfile:(nonnull NSString *)key
|
|
125
|
+
NS_SWIFT_NAME(deleteUserProfile(forKey:));
|
|
126
|
+
|
|
127
|
+
+ (void)deleteUserGender
|
|
128
|
+
NS_SWIFT_NAME(deleteUserProfileGender());
|
|
129
|
+
|
|
130
|
+
+ (void)deleteUserEmailAddress
|
|
131
|
+
NS_SWIFT_NAME(deleteUserProfileEmailAddress());
|
|
132
|
+
|
|
133
|
+
+ (void)deleteUserResidencePrefecture
|
|
134
|
+
NS_SWIFT_NAME(deleteUserProfileResidencePrefecture());
|
|
135
|
+
|
|
136
|
+
+ (void)deleteUserDateOfBirth
|
|
137
|
+
NS_SWIFT_NAME(deleteUserProfileDateOfBirth());
|
|
138
|
+
|
|
139
|
+
+ (void)deleteUserAge
|
|
140
|
+
NS_SWIFT_NAME(deleteUserProfileAge());
|
|
141
|
+
|
|
79
142
|
|
|
80
143
|
// Event tracking
|
|
81
144
|
+ (void)track:(nonnull NSString *)name
|
package/sdk-ios/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Info.plist
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { NativeEventEmitter } from 'react-native';
|
|
2
|
+
import { TurboModuleRegistry } from 'react-native';
|
|
3
|
+
|
|
4
|
+
const NativeReproEventEmitterOpenUrl = TurboModuleRegistry.get("ReproEventEmitterOpenUrl");
|
|
5
|
+
|
|
6
|
+
class EventEmitterOpenUrl {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.emitter = new NativeEventEmitter(NativeReproEventEmitterOpenUrl);
|
|
9
|
+
|
|
10
|
+
this.subscription = null;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
setOpenUrlCallback(callback) {
|
|
14
|
+
if (this.subscription) {
|
|
15
|
+
this.subscription.remove();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
this.subscription = this.emitter.addListener('__RPR__openUrlCallback', (url) => {
|
|
19
|
+
callback(url);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const eventManager = new EventEmitterOpenUrl();
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TurboModule } from "react-native/Libraries/TurboModule/RCTExport";
|
|
2
|
+
import { TurboModuleRegistry } from "react-native";
|
|
3
|
+
|
|
4
|
+
export interface Spec extends TurboModule {
|
|
5
|
+
addListener(eventName: string): void;
|
|
6
|
+
removeListeners(count: number): void;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export default TurboModuleRegistry.get<Spec>("ReproEventEmitterOpenUrl") as Spec | null;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import type { TurboModule } from "react-native/Libraries/TurboModule/RCTExport";
|
|
2
|
+
import { TurboModuleRegistry } from "react-native";
|
|
3
|
+
|
|
4
|
+
export interface Spec extends TurboModule {
|
|
5
|
+
getConstants(): {
|
|
6
|
+
GENDER_OTHER: number;
|
|
7
|
+
GENDER_MALE: number;
|
|
8
|
+
GENDER_FEMALE: number;
|
|
9
|
+
LOGLEVEL_DEBUG: number;
|
|
10
|
+
LOGLEVEL_INFO: number;
|
|
11
|
+
LOGLEVEL_WARN: number;
|
|
12
|
+
LOGLEVEL_ERROR: number;
|
|
13
|
+
CAMPAIGN_TYPE_UNKNOWN: number;
|
|
14
|
+
CAMPAIGN_TYPE_PUSH_NOTIFICATION: number;
|
|
15
|
+
CAMPAIGN_TYPE_IN_APP_MESSAGE: number;
|
|
16
|
+
CAMPAIGN_TYPE_WEB_MESSAGE: number;
|
|
17
|
+
CAMPAIGN_TYPE_ALL: number;
|
|
18
|
+
PREFECTURE_HOKKAIDO: number;
|
|
19
|
+
PREFECTURE_AOMORI: number;
|
|
20
|
+
PREFECTURE_IWATE: number;
|
|
21
|
+
PREFECTURE_MIYAGI: number;
|
|
22
|
+
PREFECTURE_AKITA: number;
|
|
23
|
+
PREFECTURE_YAMAGATA: number;
|
|
24
|
+
PREFECTURE_FUKUSHIMA: number;
|
|
25
|
+
PREFECTURE_IBARAKI: number;
|
|
26
|
+
PREFECTURE_TOCHIGI: number;
|
|
27
|
+
PREFECTURE_GUNMA: number;
|
|
28
|
+
PREFECTURE_SAITAMA: number;
|
|
29
|
+
PREFECTURE_CHIBA: number;
|
|
30
|
+
PREFECTURE_TOKYO: number;
|
|
31
|
+
PREFECTURE_KANAGAWA: number;
|
|
32
|
+
PREFECTURE_NIIGATA: number;
|
|
33
|
+
PREFECTURE_TOYAMA: number;
|
|
34
|
+
PREFECTURE_ISHIKAWA: number;
|
|
35
|
+
PREFECTURE_FUKUI: number;
|
|
36
|
+
PREFECTURE_YAMANASHI: number;
|
|
37
|
+
PREFECTURE_NAGANO: number;
|
|
38
|
+
PREFECTURE_GIFU: number;
|
|
39
|
+
PREFECTURE_SHIZUOKA: number;
|
|
40
|
+
PREFECTURE_AICHI: number;
|
|
41
|
+
PREFECTURE_MIE: number;
|
|
42
|
+
PREFECTURE_SHIGA: number;
|
|
43
|
+
PREFECTURE_KYOTO: number;
|
|
44
|
+
PREFECTURE_OSAKA: number;
|
|
45
|
+
PREFECTURE_HYOGO: number;
|
|
46
|
+
PREFECTURE_NARA: number;
|
|
47
|
+
PREFECTURE_WAKAYAMA: number;
|
|
48
|
+
PREFECTURE_TOTTORI: number;
|
|
49
|
+
PREFECTURE_SHIMANE: number;
|
|
50
|
+
PREFECTURE_OKAYAMA: number;
|
|
51
|
+
PREFECTURE_HIROSHIMA: number;
|
|
52
|
+
PREFECTURE_YAMAGUCHI: number;
|
|
53
|
+
PREFECTURE_TOKUSHIMA: number;
|
|
54
|
+
PREFECTURE_KAGAWA: number;
|
|
55
|
+
PREFECTURE_EHIME: number;
|
|
56
|
+
PREFECTURE_KOCHI: number;
|
|
57
|
+
PREFECTURE_FUKUOKA: number;
|
|
58
|
+
PREFECTURE_SAGA: number;
|
|
59
|
+
PREFECTURE_NAGASAKI: number;
|
|
60
|
+
PREFECTURE_KUMAMOTO: number;
|
|
61
|
+
PREFECTURE_OITA: number;
|
|
62
|
+
PREFECTURE_MIYAZAKI: number;
|
|
63
|
+
PREFECTURE_KAGOSHIMA: number;
|
|
64
|
+
PREFECTURE_OKINAWA: number;
|
|
65
|
+
}
|
|
66
|
+
optIn(endUserOptedIn: boolean): void;
|
|
67
|
+
setUserID(userId: string): void;
|
|
68
|
+
getUserID(callback: () => void): void;
|
|
69
|
+
setSilverEggCookie(cookie: string): void;
|
|
70
|
+
setSilverEggProdKey(prodKey: string): void;
|
|
71
|
+
setLogLevel(logLevel: number): void;
|
|
72
|
+
setStringUserProfile(key: string, value: string): void;
|
|
73
|
+
setIntUserProfile(key: string, value: number): void;
|
|
74
|
+
setDoubleUserProfile(key: string, value: number): void;
|
|
75
|
+
setDateUserProfile(key: string, value: string): void;
|
|
76
|
+
setUserGender(gender: number): void;
|
|
77
|
+
setUserEmailAddress(mailAddr: string): void;
|
|
78
|
+
setUserResidencePrefecture(prefecture: number): void;
|
|
79
|
+
setUserDateOfBirth(value: string): void;
|
|
80
|
+
setUserAge(age: number): void;
|
|
81
|
+
onlySetIfAbsentStringUserProfile(key: string, value: string): void;
|
|
82
|
+
onlySetIfAbsentIntUserProfile(key: string, value: number): void;
|
|
83
|
+
onlySetIfAbsentDoubleUserProfile(key: string, value: number): void;
|
|
84
|
+
onlySetIfAbsentDateUserProfile(key: string, value: string): void;
|
|
85
|
+
incrementIntUserProfileBy(key: string, value: number): void;
|
|
86
|
+
decrementIntUserProfileBy(key: string, value: number): void;
|
|
87
|
+
incrementDoubleUserProfileBy(key: string, value: number): void;
|
|
88
|
+
decrementDoubleUserProfileBy(key: string, value: number): void;
|
|
89
|
+
onlySetIfAbsentUserGender(gender: number): void;
|
|
90
|
+
onlySetIfAbsentUserEmailAddress(mailAddr: string): void;
|
|
91
|
+
onlySetIfAbsentUserResidencePrefecture(prefecture: number): void;
|
|
92
|
+
onlySetIfAbsentUserDateOfBirth(value: string): void;
|
|
93
|
+
onlySetIfAbsentUserAge(age: number): void;
|
|
94
|
+
incrementUserAgeBy(age: number): void;
|
|
95
|
+
decrementUserAgeBy(age: number): void;
|
|
96
|
+
deleteUserProfile(key: string): void;
|
|
97
|
+
deleteUserGender(): void;
|
|
98
|
+
deleteUserEmailAddress(): void;
|
|
99
|
+
deleteUserResidencePrefecture(): void;
|
|
100
|
+
deleteUserDateOfBirth(): void;
|
|
101
|
+
deleteUserAge(): void;
|
|
102
|
+
getDeviceID(callback: () => void): void;
|
|
103
|
+
disableInAppMessagesOnForegroundTransition(): void;
|
|
104
|
+
enableInAppMessagesOnForegroundTransition(): void;
|
|
105
|
+
setPushDeviceTokenString(deviceTokenHexString: string): void;
|
|
106
|
+
setPushRegistrationID(pushRegId: string): void;
|
|
107
|
+
setPushToken(token: string): void;
|
|
108
|
+
enablePushNotification(): void;
|
|
109
|
+
linkLineID(lineUserId: string, lineChannelId: string): void;
|
|
110
|
+
unlinkLineID(lineUserId: string, lineChannelId: string): void;
|
|
111
|
+
_handleWebViewUrl(requestUrl: string): void;
|
|
112
|
+
track(name: string, properties: Object): void;
|
|
113
|
+
trackViewContent(contentId: string, props: Object): void;
|
|
114
|
+
trackSearch(props: Object): void;
|
|
115
|
+
trackAddToWishlist(props: Object): void;
|
|
116
|
+
trackAddToCart(contentId: string, props: Object): void;
|
|
117
|
+
trackInitiateCheckout(props: Object): void;
|
|
118
|
+
trackAddPaymentInfo(props: Object): void;
|
|
119
|
+
trackPurchase(contentId: string, value: number, currency: string, props: Object): void;
|
|
120
|
+
trackShare(props: Object): void;
|
|
121
|
+
trackCompleteRegistration(props: Object): void;
|
|
122
|
+
trackLead(props: Object): void;
|
|
123
|
+
trackNotificationOpened(notificationId: string): void;
|
|
124
|
+
getNewsFeeds(limit: number, callback: (error: Object | null, items: Array<Object> | null) => void): void;
|
|
125
|
+
oldArchGetNewsFeeds(limit: number, campaignType: number, callback: (error: Object | null, items: Array<Object> | null) => void): void;
|
|
126
|
+
getNewsFeedsFor(limit: number, offsetID: number, callback: (error: Object | null, items: Array<Object> | null) => void): void;
|
|
127
|
+
oldArchGetNewsFeedsFor(limit: number, offsetID: number, campaignType: number, callback: (error: Object | null, items: Array<Object> | null) => void): void;
|
|
128
|
+
getNewsFeedsWithCampaignType(limit: number, campaignType: number, callback: (error: Object | null, items: Array<Object> | null) => void): void;
|
|
129
|
+
getNewsFeedsWithCampaignTypeFor(limit: number, offsetID: number, campaignType: number, callback: (error: Object | null, items: Array<Object> | null) => void): void;
|
|
130
|
+
updateNewsFeeds(array: Array<Object>, callback: (error: Object | null) => void): void;
|
|
131
|
+
oldArchUpdateNewsFeeds(array: Array<Object>, callback: (error: Object | null) => void): void;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export default TurboModuleRegistry.get<Spec>("ReproReactBridgeModule") as Spec | null;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TurboModule } from "react-native/Libraries/TurboModule/RCTExport";
|
|
2
|
+
import { TurboModuleRegistry } from "react-native";
|
|
3
|
+
|
|
4
|
+
export interface Spec extends TurboModule {
|
|
5
|
+
getConstants(): {
|
|
6
|
+
REMOTE_CONFIG_SUCCESS: number;
|
|
7
|
+
REMOTE_CONFIG_TIMEOUT_REACHED: number;
|
|
8
|
+
REMOTE_CONFIG_ALREADY_FETCHED: number;
|
|
9
|
+
FETCH_STATUS: {
|
|
10
|
+
REMOTE_CONFIG_SUCCESS: number;
|
|
11
|
+
REMOTE_CONFIG_FAILURE: number;
|
|
12
|
+
REMOTE_CONFIG_NO_CHANGE: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
fetch(timeout: number, callback: () => void): void;
|
|
16
|
+
activateFetched(): void;
|
|
17
|
+
setDefaultsFromDictionary(values: Object): void;
|
|
18
|
+
setDefaultsFromJsonString(jsonStr: string): void;
|
|
19
|
+
getValue(key: string, callback: () => void): void;
|
|
20
|
+
getAllValues(callback: () => void): void;
|
|
21
|
+
getAllValuesWithPrefix(prefix: string, callback: () => void): void;
|
|
22
|
+
getLocalDefaultValue(key: string, callback: () => void): void;
|
|
23
|
+
forceReset(): void;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export default TurboModuleRegistry.get<Spec>("ReproRemoteConfigBridge") as Spec | null;
|