diff --git a/BugfenderSDK.framework/BugfenderSDK b/BugfenderSDK.framework/BugfenderSDK index ac2614a..7717569 100644 Binary files a/BugfenderSDK.framework/BugfenderSDK and b/BugfenderSDK.framework/BugfenderSDK differ diff --git a/BugfenderSDK.framework/Headers/BugfenderSDK.h b/BugfenderSDK.framework/Headers/BugfenderSDK.h index bf4f5b5..fc4e3ea 100644 --- a/BugfenderSDK.framework/Headers/BugfenderSDK.h +++ b/BugfenderSDK.framework/Headers/BugfenderSDK.h @@ -44,6 +44,7 @@ NS_ASSUME_NONNULL_BEGIN #define BFLibraryVersionNumber_1_4_3 34 #define BFLibraryVersionNumber_1_4_4 34 // Mistake: We released the version without incrementing the number. #define BFLibraryVersionNumber_1_4_5 36 +#define BFLibraryVersionNumber_1_4_6 37 /** * Current Bugfender version number. @@ -119,6 +120,13 @@ typedef NS_ENUM(NSUInteger, BFLogLevel) **/ + (NSString*)deviceIdentifier; +/** + * + * The session identifier is constant while the application is running. + * @return A string identifying the current session. + */ ++ (NSString *)sessionIdentifier; + /** * Synchronizes all logs with the server all the time, regardless if this device is enabled or not. * @discussion This method is useful when the logs should be sent to the server @@ -148,10 +156,12 @@ typedef NS_ENUM(NSUInteger, BFLogLevel) */ +(BOOL) printToConsole; +#if TARGET_OS_IOS /** * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. */ +(void)enableUIEventLogging; +#endif /** * Sends an issue @@ -159,8 +169,9 @@ typedef NS_ENUM(NSUInteger, BFLogLevel) * to the server, and marks the session so that it is highlighted in the web console. * @param title Short description of the issue. * @param text Full details of the issue. Markdown format is accepted. + * @return the issue identifier */ -+(void)sendIssueWithTitle:(NSString*)title text:(NSString*)text; ++ (NSString *)sendIssueWithTitle:(NSString *)title text:(NSString *)text; /** ******************************************************************** ** * @name Device details diff --git a/BugfenderSDK.podspec b/BugfenderSDK.podspec index 340580d..f347c89 100644 --- a/BugfenderSDK.podspec +++ b/BugfenderSDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BugfenderSDK' - s.version = '1.4.5' + s.version = '1.4.6' s.ios.deployment_target = '8.0' s.license = { :type => 'Commercial', :text => 'See https://bugfender.com/terms-of-service/' } s.summary = 'Bugfender: a mobile remote logger' diff --git a/CHANGELOG.md b/CHANGELOG.md index fd1dfbc..2692acb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 1.4.6 +- Added method to get the session identifier. +- Now send issue method returns the issue identifier. + # 1.4.5 - Fixed issue with the latest release.