Skip to content

Commit 97834c8

Browse files
committed
v5.3
Add API methods for APN handling. Add IBGLog method that doesn't use va_list arguments which is easier to use in Swift. Add Danish localization 🇩🇰 Bug fixes.
1 parent dacf06e commit 97834c8

File tree

51 files changed

+40
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+40
-2
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-18 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-4 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
29 Bytes
Binary file not shown.
40 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Instabug.framework/Versions/A/Headers/Instabug.h

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2014 by Instabug, Inc., all rights reserved.
77
8-
Version: 5.2.5
8+
Version: 5.3
99
*/
1010

1111
//===========================================================================================================================================
@@ -98,6 +98,13 @@ OBJC_EXTERN void IBGLog(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2);
9898
*/
9999
+ (void)IBGLog:(NSString *)format withArguments:(va_list)arguments;
100100

101+
/**
102+
* Adds custom logs that will be sent with each report
103+
*
104+
* @param log log message
105+
*/
106+
+ (void)IBGLog:(NSString *)log;
107+
101108
/**
102109
* Sets whether to track the user's steps while using the app or not
103110
*
@@ -349,4 +356,35 @@ OBJC_EXTERN void IBGLog(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2);
349356

350357
//===========================================================================================================================================
351358

359+
//===========================================================================================================================================
360+
/** @name Push Notifications */
361+
//===========================================================================================================================================
362+
363+
/**
364+
* Use this method to check if push notification is from Instabug
365+
*
366+
* @return YES if APN payload contains the key "IBGHost"
367+
*/
368+
+ (BOOL)isInstabugNotification:(NSDictionary *)notification;
369+
370+
/**
371+
* Use this method to set Apple Push Notification token to enable receiving Instabug push notifications.
372+
* You should call this method after receiving token in [AppDelegate didRegisterForRemoteNotificationsWithDeviceToken:]
373+
* and pass received token.
374+
*
375+
* @param deviceToken device token
376+
*/
377+
+ (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
378+
379+
/**
380+
* Call it to allow Instabug to handle remote notifications. Instabug will check if notification is from Instabug
381+
* server and handle it. otherwise it will do nothing.
382+
* You should call this method in [AppDelegate application:didReceiveRemoteNotification:] and pass received userInfo
383+
* Or [AppDelegate application:didFinishLaunchingWithOptions:] and pass
384+
* [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]
385+
*
386+
* @param userInfo remote notification
387+
*/
388+
+ (void)didReceiveRemoteNotification:(NSDictionary *)userInfo;
389+
352390
@end
13.3 KB
Binary file not shown.

Instabug.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Instabug"
3-
s.version = "5.2.5"
3+
s.version = "5.3"
44
s.summary = "Bug reporting for mobile apps. Learn more at http://instabug.com"
55
s.homepage = "http://instabug.com"
66
s.license = {

0 commit comments

Comments
 (0)