Skip to content

Commit b453920

Browse files
committed
Update to iOS SDK 2.7.1
• Now uses the latest iOS SDK
1 parent 5ba6a16 commit b453920

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.1.0'
8+
classpath 'com.android.tools.build:gradle:2.2.2'
99
}
1010
}
1111

@@ -36,9 +36,9 @@ android {
3636
dependencies {
3737
compile fileTree(include: ['*.jar'], dir: 'libs')
3838
compile 'com.facebook.react:react-native:+'
39-
compile 'com.onesignal:OneSignal:3.+@aar'
4039
compile 'com.google.android.gms:play-services-gcm:+'
4140
compile 'com.google.android.gms:play-services-analytics:+'
4241
compile 'com.google.android.gms:play-services-location:+'
4342
testCompile 'junit:junit:4.12'
43+
compile 'com.onesignal:OneSignal:3.+@aar'
4444
}

ios/OneSignal.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
#import <UserNotifications/UserNotifications.h>
5151
#endif
5252

53+
54+
#pragma clang diagnostic push
55+
#pragma clang diagnostic ignored "-Wstrict-prototypes"
56+
#pragma clang diagnostic ignored "-Wnullability-completeness"
57+
5358
/* The action type associated to an OSNotificationAction object */
5459
typedef NS_ENUM(NSUInteger, OSNotificationActionType) {
5560
OSNotificationActionTypeOpened,
@@ -422,3 +427,5 @@ typedef void (^OSEmailSuccessBlock)();
422427
+ (void)setEmail:(NSString * _Nonnull)email withEmailAuthHashToken:(NSString * _Nullable)hashToken;
423428

424429
@end
430+
431+
#pragma clang diagnostic pop

ios/libOneSignal.a

-606 KB
Binary file not shown.

0 commit comments

Comments
 (0)