pushwoosh-react-native-plugin 6.1.17 → 6.1.19
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/package.json +1 -1
- package/pushwoosh-react-native-plugin.podspec +1 -1
- package/src/android/build.gradle +1 -1
- package/src/android/src/main/java/com/pushwoosh/reactnativeplugin/ConversionUtil.java +1 -1
- package/src/ios/Pushwoosh.h +1 -1
- package/src/ios/PushwooshPlugin/Pushwoosh.m +1 -3
- package/src/ios/libPushwoosh.a +0 -0
package/package.json
CHANGED
package/src/android/build.gradle
CHANGED
|
@@ -196,7 +196,7 @@ public final class ConversionUtil {
|
|
|
196
196
|
.put("title", message.getTitle())
|
|
197
197
|
.put("imageUrl", message.getImageUrl())
|
|
198
198
|
.put("message",message.getMessage())
|
|
199
|
-
.put("sendDate",message.
|
|
199
|
+
.put("sendDate",message.getISO8601SendDate())
|
|
200
200
|
.put("type", message.getType().getCode())
|
|
201
201
|
.put("bannerUrl", message.getBannerUrl())
|
|
202
202
|
.put("isRead",message.isRead())
|
package/src/ios/Pushwoosh.h
CHANGED
|
@@ -325,9 +325,7 @@ RCT_EXPORT_METHOD(performAction:(NSString*)code) {
|
|
|
325
325
|
|
|
326
326
|
- (NSString*)dateToString:(NSDate*)date {
|
|
327
327
|
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
|
|
328
|
-
[formatter
|
|
329
|
-
[formatter setDateStyle:NSDateFormatterFullStyle];
|
|
330
|
-
[formatter setTimeStyle:NSDateFormatterMediumStyle];
|
|
328
|
+
[formatter setDateFormat:@"yyyy-MM-dd'T'H:mm:ssZ"];
|
|
331
329
|
return [formatter stringFromDate:date];
|
|
332
330
|
}
|
|
333
331
|
|
package/src/ios/libPushwoosh.a
CHANGED
|
Binary file
|