Skip to content
This repository

Not calling parent's applicationDidBecomeActive #54

Merged
merged 1 commit into from almost 2 years ago

1 participant

Kevin Hawkins
Kevin Hawkins
Collaborator

The SalesforceHybridSDK was (erroneously) not calling the app delegate's parent applicationDidBecomeActive method, after doing the work in the child class. PhoneGap's active event was not being fired, as a result.

Kevin Hawkins khawkins merged commit 5a0915c into from April 23, 2012
Kevin Hawkins khawkins closed this April 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 23, 2012
Kevin Hawkins Not calling parent's applicationDidBecomeActive 7ac189b
This page is out of date. Refresh to see the latest.
4  hybrid/SalesforceHybridSDK/SalesforceHybridSDK/Container/SFContainerAppDelegate.m
@@ -28,7 +28,7 @@
28 28
 #import "SalesforceOAuthPlugin.h"
29 29
 
30 30
 // Public constants
31  
-NSString * const kSFMobileSDKVersion = @"1.1.4";
  31
+NSString * const kSFMobileSDKVersion = @"1.1.5";
32 32
 NSString * const kUserAgentPropKey = @"UserAgent";
33 33
 NSString * const kAppHomeUrlPropKey = @"AppHomeUrl";
34 34
 
@@ -114,6 +114,8 @@ - (void)applicationDidBecomeActive:(UIApplication *)application {
114 114
     //Touch this to ensure that we have a SmartStore plugin instance that
115 115
     //can listen for file data protection notifications.
116 116
     [self getCommandInstance:kSFSmartStorePluginName];
  117
+    
  118
+    [super applicationDidBecomeActive:application];
117 119
 }
118 120
 
119 121
 #pragma mark - PhoneGap helpers
2  native/SalesforceSDK/SalesforceSDK/Classes/SFRestAPI.m
@@ -31,7 +31,7 @@
31 31
 #import "SFRestRequest.h"
32 32
 #import "SFSessionRefresher.h"
33 33
 
34  
-static NSString * const kSFMobileSDKVersion = @"1.1.4";
  34
+static NSString * const kSFMobileSDKVersion = @"1.1.5";
35 35
 NSString* const kSFRestDefaultAPIVersion = @"v23.0";
36 36
 NSString* const kSFRestErrorDomain = @"com.salesforce.RestAPI.ErrorDomain";
37 37
 NSInteger const kSFRestErrorCode = 999;
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.