react-native-repro 3.18.0 → 3.20.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/android/src/main/java/io/repro/android/reactbridge/ReproReactBridgeModule.java +13 -2
- package/index.js +5 -1
- package/ios/RPRReproReactBridge.h +1 -1
- package/ios/RPRReproReactBridge.m +9 -0
- package/package.json +1 -1
- package/repro-version.json +3 -3
- package/sdk-android/io/repro/repro-android-sdk/5.16.0/repro-android-sdk-5.16.0.aar +0 -0
- package/sdk-android/io/repro/repro-android-sdk/5.16.0/repro-android-sdk-5.16.0.aar.md5 +1 -0
- package/sdk-android/io/repro/repro-android-sdk/5.16.0/repro-android-sdk-5.16.0.aar.sha1 +1 -0
- package/sdk-android/io/repro/repro-android-sdk/{5.15.0/repro-android-sdk-5.15.0.pom → 5.16.0/repro-android-sdk-5.16.0.pom} +1 -1
- package/sdk-android/io/repro/repro-android-sdk/5.16.0/repro-android-sdk-5.16.0.pom.md5 +1 -0
- package/sdk-android/io/repro/repro-android-sdk/5.16.0/repro-android-sdk-5.16.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/Info.plist +8 -8
- 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/RPRNewsFeedEntry.h +2 -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/RPRNewsFeedEntry.h +2 -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/sdk-android/io/repro/repro-android-sdk/5.15.0/repro-android-sdk-5.15.0.aar +0 -0
- package/sdk-android/io/repro/repro-android-sdk/5.15.0/repro-android-sdk-5.15.0.aar.md5 +0 -1
- package/sdk-android/io/repro/repro-android-sdk/5.15.0/repro-android-sdk-5.15.0.aar.sha1 +0 -1
- package/sdk-android/io/repro/repro-android-sdk/5.15.0/repro-android-sdk-5.15.0.pom.md5 +0 -1
- package/sdk-android/io/repro/repro-android-sdk/5.15.0/repro-android-sdk-5.15.0.pom.sha1 +0 -1
|
@@ -58,7 +58,7 @@ public class ReproReactBridgeModule extends ReactContextBaseJavaModule {
|
|
|
58
58
|
|
|
59
59
|
private final ReactApplicationContext reactContext;
|
|
60
60
|
|
|
61
|
-
private static final String REPRO_REACT_NATIVE_BRIDGE_VERSION = "3.
|
|
61
|
+
private static final String REPRO_REACT_NATIVE_BRIDGE_VERSION = "3.20.0";
|
|
62
62
|
|
|
63
63
|
public ReproReactBridgeModule(ReactApplicationContext reactContext) {
|
|
64
64
|
super(reactContext);
|
|
@@ -257,6 +257,11 @@ public class ReproReactBridgeModule extends ReactContextBaseJavaModule {
|
|
|
257
257
|
Repro.setPushRegistrationID(pushRegId);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
+
@ReactMethod
|
|
261
|
+
public void setPushToken(final String token) {
|
|
262
|
+
Repro.setPushRegistrationID(token);
|
|
263
|
+
}
|
|
264
|
+
|
|
260
265
|
@ReactMethod
|
|
261
266
|
public void enablePushNotification() {
|
|
262
267
|
Repro.enablePushNotification();
|
|
@@ -264,7 +269,11 @@ public class ReproReactBridgeModule extends ReactContextBaseJavaModule {
|
|
|
264
269
|
|
|
265
270
|
@ReactMethod
|
|
266
271
|
public void track(final String name, final ReadableMap properties) {
|
|
267
|
-
|
|
272
|
+
if (properties == null) {
|
|
273
|
+
Repro.track(name);
|
|
274
|
+
} else {
|
|
275
|
+
Repro.track(name, properties.toHashMap());
|
|
276
|
+
}
|
|
268
277
|
}
|
|
269
278
|
|
|
270
279
|
@ReactMethod
|
|
@@ -441,7 +450,9 @@ public class ReproReactBridgeModule extends ReactContextBaseJavaModule {
|
|
|
441
450
|
entryMap.putString("delivered_at", format.format(entry.deliveredAt));
|
|
442
451
|
|
|
443
452
|
entryMap.putString("link_url", linkUrl);
|
|
453
|
+
entryMap.putString("link_url_string", entry.linkUrlString);
|
|
444
454
|
entryMap.putString("image_url", imageUrl);
|
|
455
|
+
entryMap.putString("image_url_string", entry.imageUrlString);
|
|
445
456
|
|
|
446
457
|
array.pushMap(entryMap);
|
|
447
458
|
}
|
package/index.js
CHANGED
|
@@ -22,7 +22,9 @@ class NewsFeedEntry {
|
|
|
22
22
|
this.deliveredAt = value["delivered_at"];
|
|
23
23
|
|
|
24
24
|
this.linkUrl = safeString(value["link_url"]);
|
|
25
|
+
this.linkUrlString = safeString(value["link_url_string"]);
|
|
25
26
|
this.imageUrl = safeString(value["image_url"]);
|
|
27
|
+
this.imageUrlString = safeString(value["image_url_string"]);
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
toJson() {
|
|
@@ -37,7 +39,9 @@ class NewsFeedEntry {
|
|
|
37
39
|
"read": this.read,
|
|
38
40
|
"delivered_at": this.deliveredAt,
|
|
39
41
|
"link_url": this.linkUrl,
|
|
40
|
-
"
|
|
42
|
+
"link_url_string": this.linkUrlString,
|
|
43
|
+
"image_url": this.imageUrl,
|
|
44
|
+
"image_url_string": this.imageUrlString
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
47
|
}
|
|
@@ -635,6 +635,11 @@ RCT_EXPORT_METHOD(setPushDeviceTokenString:(NSString *)deviceTokenHexString)
|
|
|
635
635
|
[Repro setPushDeviceTokenString:deviceTokenHexString];
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
+
RCT_EXPORT_METHOD(setPushToken:(NSString *)deviceTokenHexString)
|
|
639
|
+
{
|
|
640
|
+
[Repro setPushDeviceTokenString:deviceTokenHexString];
|
|
641
|
+
}
|
|
642
|
+
|
|
638
643
|
// NOTE: Should better be called native from AppDelegate::didFinishLaunchingWithOptions
|
|
639
644
|
RCT_EXPORT_METHOD(setup:(NSString *)token)
|
|
640
645
|
{
|
|
@@ -700,7 +705,9 @@ RCT_EXPORT_METHOD(getNewsFeeds:(uint64_t)limit campaignType:(nonnull NSNumber *)
|
|
|
700
705
|
@"read": @(entry.read),
|
|
701
706
|
@"delivered_at": formattedDateString,
|
|
702
707
|
@"link_url": entry.linkUrl ? [entry.linkUrl absoluteString] : @"",
|
|
708
|
+
@"link_url_string": entry.linkUrlString,
|
|
703
709
|
@"image_url": entry.imageUrl ? [entry.imageUrl absoluteString] : @"",
|
|
710
|
+
@"image_url_string": entry.imageUrlString,
|
|
704
711
|
};
|
|
705
712
|
|
|
706
713
|
[entryJsons addObject:entryJson];
|
|
@@ -757,7 +764,9 @@ RCT_EXPORT_METHOD(getNewsFeedsFor:(uint64_t)limit offsetID:(uint64_t)offsetID ca
|
|
|
757
764
|
@"read": @(entry.read),
|
|
758
765
|
@"delivered_at": formattedDateString,
|
|
759
766
|
@"link_url": entry.linkUrl ? [entry.linkUrl absoluteString] : @"",
|
|
767
|
+
@"link_url_string": entry.linkUrlString,
|
|
760
768
|
@"image_url": entry.imageUrl ? [entry.imageUrl absoluteString] : @"",
|
|
769
|
+
@"image_url_string": entry.imageUrlString,
|
|
761
770
|
};
|
|
762
771
|
|
|
763
772
|
[entryJsons addObject:entryJson];
|
package/package.json
CHANGED
package/repro-version.json
CHANGED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bdd3651581c0c56c4dfa3fe407e5657f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ad5000319061ddd6df6d731bf39a9ce370c7893b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b3366a4ba5d3b9d478e5d3f902e1fb51
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
35380c077636403b818f0f420fdec508f8e266a5
|
|
@@ -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.16.0</release>
|
|
7
7
|
<versions>
|
|
8
|
-
<version>5.
|
|
8
|
+
<version>5.16.0</version>
|
|
9
9
|
</versions>
|
|
10
|
-
<lastUpdated>
|
|
10
|
+
<lastUpdated>20240829152933</lastUpdated>
|
|
11
11
|
</versioning>
|
|
12
12
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
e2ffa23fbc96feaecbb93308021efd30
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6b4c8d105741d5056667c2d0c5d6e03909ac7b57
|
|
@@ -6,33 +6,33 @@
|
|
|
6
6
|
<array>
|
|
7
7
|
<dict>
|
|
8
8
|
<key>LibraryIdentifier</key>
|
|
9
|
-
<string>ios-
|
|
9
|
+
<string>ios-arm64_i386_x86_64-simulator</string>
|
|
10
10
|
<key>LibraryPath</key>
|
|
11
11
|
<string>Repro.framework</string>
|
|
12
12
|
<key>SupportedArchitectures</key>
|
|
13
13
|
<array>
|
|
14
14
|
<string>arm64</string>
|
|
15
|
-
<string>
|
|
16
|
-
<string>
|
|
15
|
+
<string>i386</string>
|
|
16
|
+
<string>x86_64</string>
|
|
17
17
|
</array>
|
|
18
18
|
<key>SupportedPlatform</key>
|
|
19
19
|
<string>ios</string>
|
|
20
|
+
<key>SupportedPlatformVariant</key>
|
|
21
|
+
<string>simulator</string>
|
|
20
22
|
</dict>
|
|
21
23
|
<dict>
|
|
22
24
|
<key>LibraryIdentifier</key>
|
|
23
|
-
<string>ios-
|
|
25
|
+
<string>ios-arm64_armv7_armv7s</string>
|
|
24
26
|
<key>LibraryPath</key>
|
|
25
27
|
<string>Repro.framework</string>
|
|
26
28
|
<key>SupportedArchitectures</key>
|
|
27
29
|
<array>
|
|
28
30
|
<string>arm64</string>
|
|
29
|
-
<string>
|
|
30
|
-
<string>
|
|
31
|
+
<string>armv7</string>
|
|
32
|
+
<string>armv7s</string>
|
|
31
33
|
</array>
|
|
32
34
|
<key>SupportedPlatform</key>
|
|
33
35
|
<string>ios</string>
|
|
34
|
-
<key>SupportedPlatformVariant</key>
|
|
35
|
-
<string>simulator</string>
|
|
36
36
|
</dict>
|
|
37
37
|
</array>
|
|
38
38
|
<key>CFBundlePackageType</key>
|
|
Binary file
|
|
Binary file
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</data>
|
|
11
11
|
<key>ios-arm64_armv7_armv7s/Repro.framework/Headers/RPRNewsFeedEntry.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
199GkJDU2FyeL799jVHjEOWVAC0=
|
|
14
14
|
</data>
|
|
15
15
|
<key>ios-arm64_armv7_armv7s/Repro.framework/Headers/RPRRemoteConfig.h</key>
|
|
16
16
|
<data>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</data>
|
|
27
27
|
<key>ios-arm64_armv7_armv7s/Repro.framework/Info.plist</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
DqOby8ObQFawxNMngiXJOTCkCZU=
|
|
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
|
+
yq/KmT9a4NUwIf6/4WeG84dwJ0s=
|
|
42
42
|
</data>
|
|
43
43
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPREventProperties.h</key>
|
|
44
44
|
<data>
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
</data>
|
|
47
47
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPRNewsFeedEntry.h</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
199GkJDU2FyeL799jVHjEOWVAC0=
|
|
50
50
|
</data>
|
|
51
51
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPRRemoteConfig.h</key>
|
|
52
52
|
<data>
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
</data>
|
|
63
63
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Info.plist</key>
|
|
64
64
|
<data>
|
|
65
|
-
|
|
65
|
+
7XJM1Ga3WFxy3T9fdhHUgPNAduE=
|
|
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
|
+
nvqhGDQ6VgUHFxSI6lDHEn84vy4=
|
|
78
78
|
</data>
|
|
79
79
|
</dict>
|
|
80
80
|
<key>files2</key>
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
<dict>
|
|
95
95
|
<key>hash</key>
|
|
96
96
|
<data>
|
|
97
|
-
|
|
97
|
+
199GkJDU2FyeL799jVHjEOWVAC0=
|
|
98
98
|
</data>
|
|
99
99
|
<key>hash2</key>
|
|
100
100
|
<data>
|
|
101
|
-
|
|
101
|
+
btlPz0kZcISduoS6YhJN81GKa0Xal5QcEitu5y4XkdA=
|
|
102
102
|
</data>
|
|
103
103
|
</dict>
|
|
104
104
|
<key>ios-arm64_armv7_armv7s/Repro.framework/Headers/RPRRemoteConfig.h</key>
|
|
@@ -138,11 +138,11 @@
|
|
|
138
138
|
<dict>
|
|
139
139
|
<key>hash</key>
|
|
140
140
|
<data>
|
|
141
|
-
|
|
141
|
+
DqOby8ObQFawxNMngiXJOTCkCZU=
|
|
142
142
|
</data>
|
|
143
143
|
<key>hash2</key>
|
|
144
144
|
<data>
|
|
145
|
-
|
|
145
|
+
Fb6/6ioWu2K9mhPpTIE8O5czhXUPSvrWG+PcZ+zrfC0=
|
|
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
|
+
yq/KmT9a4NUwIf6/4WeG84dwJ0s=
|
|
175
175
|
</data>
|
|
176
176
|
<key>hash2</key>
|
|
177
177
|
<data>
|
|
178
|
-
|
|
178
|
+
Nhy292d8sm3+VSzlPPvkRTQGj1pY2F9XpNGe+ONGTbI=
|
|
179
179
|
</data>
|
|
180
180
|
</dict>
|
|
181
181
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPREventProperties.h</key>
|
|
@@ -193,11 +193,11 @@
|
|
|
193
193
|
<dict>
|
|
194
194
|
<key>hash</key>
|
|
195
195
|
<data>
|
|
196
|
-
|
|
196
|
+
199GkJDU2FyeL799jVHjEOWVAC0=
|
|
197
197
|
</data>
|
|
198
198
|
<key>hash2</key>
|
|
199
199
|
<data>
|
|
200
|
-
|
|
200
|
+
btlPz0kZcISduoS6YhJN81GKa0Xal5QcEitu5y4XkdA=
|
|
201
201
|
</data>
|
|
202
202
|
</dict>
|
|
203
203
|
<key>ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPRRemoteConfig.h</key>
|
|
@@ -237,11 +237,11 @@
|
|
|
237
237
|
<dict>
|
|
238
238
|
<key>hash</key>
|
|
239
239
|
<data>
|
|
240
|
-
|
|
240
|
+
7XJM1Ga3WFxy3T9fdhHUgPNAduE=
|
|
241
241
|
</data>
|
|
242
242
|
<key>hash2</key>
|
|
243
243
|
<data>
|
|
244
|
-
|
|
244
|
+
cmPzf6/UnH+1OBbm7/wjfsDveS96R6ZqkiJNsZegl24=
|
|
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
|
+
nvqhGDQ6VgUHFxSI6lDHEn84vy4=
|
|
274
274
|
</data>
|
|
275
275
|
<key>hash2</key>
|
|
276
276
|
<data>
|
|
277
|
-
|
|
277
|
+
M4Of69Voux3yCIMxqZdE/dyMdeXs8lujoe5UgnhXO44=
|
|
278
278
|
</data>
|
|
279
279
|
</dict>
|
|
280
280
|
</dict>
|
|
Binary file
|
package/sdk-ios/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Headers/RPRNewsFeedEntry.h
CHANGED
|
@@ -27,7 +27,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
27
27
|
@property (nonatomic, readonly) NSString *body;
|
|
28
28
|
@property (nonatomic, readonly) RPRCampaignType campaignType;
|
|
29
29
|
@property (nonatomic, readonly, nullable) NSURL *linkUrl;
|
|
30
|
+
@property (nonatomic, readonly, nullable) NSString *linkUrlString;
|
|
30
31
|
@property (nonatomic, readonly, nullable) NSURL *imageUrl;
|
|
32
|
+
@property (nonatomic, readonly, nullable) NSString *imageUrlString;
|
|
31
33
|
@property (nonatomic, readonly) NSDate *deliveredAt;
|
|
32
34
|
@property (nonatomic) BOOL shown;
|
|
33
35
|
@property (nonatomic) BOOL read;
|
|
Binary file
|
|
Binary file
|
|
@@ -27,7 +27,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
27
27
|
@property (nonatomic, readonly) NSString *body;
|
|
28
28
|
@property (nonatomic, readonly) RPRCampaignType campaignType;
|
|
29
29
|
@property (nonatomic, readonly, nullable) NSURL *linkUrl;
|
|
30
|
+
@property (nonatomic, readonly, nullable) NSString *linkUrlString;
|
|
30
31
|
@property (nonatomic, readonly, nullable) NSURL *imageUrl;
|
|
32
|
+
@property (nonatomic, readonly, nullable) NSString *imageUrlString;
|
|
31
33
|
@property (nonatomic, readonly) NSDate *deliveredAt;
|
|
32
34
|
@property (nonatomic) BOOL shown;
|
|
33
35
|
@property (nonatomic) BOOL read;
|
package/sdk-ios/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Info.plist
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d58ab56d62ceb83ce37c6bee53c47eb4
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
17b2fb5c8564e456ca5ae20c7701dc8811124fcb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c26d1ae36fd730e2e383e12c19ab32b9
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
58952e0ee6c6064288f9f5233688aca7a5e6351a
|