File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
Framework/OneSignal.framework/Versions/A Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "OneSignal"
3- s . version = "2.2.0 "
3+ s . version = "2.2.1 "
44 s . summary = "OneSignal push notification library for mobile apps."
55 s . homepage = "https://onesignal.com"
66 s . license = { :type => 'MIT' , :file => 'LICENSE' }
Original file line number Diff line number Diff line change @@ -148,6 +148,9 @@ typedef OSNotificationDisplayType OSInFocusDisplayOption;
148148 Set to false when app is in focus and in-app alerts are disabled, or the remote notification is silent. */
149149@property (readonly , getter =wasShown)BOOL shown;
150150
151+ /* Set to true if the app was in focus when the notification */
152+ @property (readonly , getter =wasAppInFocus)BOOL isAppInFocus;
153+
151154/* Set to true when the received notification is silent
152155 Silent means there is no alert, sound, or badge payload in the aps dictionary
153156 requires remote-notification within UIBackgroundModes array of the Info.plist */
Original file line number Diff line number Diff line change 7676NSString * const kOSSettingsKeyInFocusDisplayOption = @" kOSSettingsKeyInFocusDisplayOption" ;
7777
7878@implementation OneSignal
79-
80- NSString * const ONESIGNAL_VERSION = @" 020200 " ;
79+
80+ NSString * const ONESIGNAL_VERSION = @" 020201 " ;
8181static NSString * mSDKType = @" native" ;
8282static BOOL coldStartFromTapOnNotification = NO ;
8383static BOOL registeredWithApple = NO ; // Has attempted to register for push notifications with Apple.
You can’t perform that action at this time.
0 commit comments