Skip to content

Commit

Permalink
3.0.2 commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Cobbe committed Feb 23, 2017
1 parent 1837ae6 commit be9e0be
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ObjectiveDropboxOfficial.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ObjectiveDropboxOfficial'
s.version = '3.0.1'
s.version = '3.0.2'
s.summary = 'Dropbox Objective C SDK for APIv2'
s.homepage = 'https://dropbox.com/developers/'
s.license = 'MIT'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ brew install carthage

```
# ObjectiveDropboxOfficial
github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 3.0.1
github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 3.0.2
```

Then, run the following command to checkout and build the Dropbox Objective-C SDK repository:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.0.1</string>
<string>3.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.0.1</string>
<string>3.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#pragma mark - Internal serialization helpers

static NSString *kV2SDKVersion = @"3.0.1";
static NSString *kV2SDKVersion = @"3.0.2";
static NSString *kV2SDKDefaultUserAgentPrefix = @"OfficialDropboxObjCSDKv2";
NSDictionary<NSString *, NSString *> *kV2SDKBaseHosts;

Expand Down
3 changes: 2 additions & 1 deletion TestObjectiveDropbox/TestObjectiveDropbox_iOS/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
}

NSUserDefaults *Defaults = [NSUserDefaults standardUserDefaults];
[Defaults setObject:@"YES" forKey:@"KeychainV1TokenMigration"];
NSString *migrationOccuredLookupKey = [NSString stringWithFormat: @"KeychainV1TokenMigration-%@", data.fullDropboxAppKey];
[Defaults setObject:@"YES" forKey:migrationOccuredLookupKey];
[DBClientsManager checkAndPerformV1TokenMigration:^(BOOL shouldRetry, BOOL invalidAppKeyOrSecret, NSArray<NSArray<NSString *> *> *unsuccessfullyMigratedTokenData) {
NSLog(@"Migration completed.");
NSLog(shouldRetry ? @"ShouldRetry: Yes" : @"ShouldRetry: No");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
}

NSUserDefaults *Defaults = [NSUserDefaults standardUserDefaults];
[Defaults setObject:@"YES" forKey:@"KeychainV1TokenMigration"];
NSString *migrationOccuredLookupKey = [NSString stringWithFormat: @"KeychainV1TokenMigration-%@", data.fullDropboxAppKey];
[Defaults setObject:@"YES" forKey:migrationOccuredLookupKey];
[DBClientsManager checkAndPerformV1TokenMigration:^(BOOL shouldRetry, BOOL invalidAppKeyOrSecret, NSArray<NSArray<NSString *> *> *unsuccessfullyMigratedTokenData) {
NSLog(@"Migration completed.");
NSLog(shouldRetry ? @"ShouldRetry: Yes" : @"ShouldRetry: No");
Expand Down
2 changes: 1 addition & 1 deletion update_repo_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# 0. Check on DBApp, Chime, Paper. Run analyzer.
# 1. Make sure test data is reset
# 2. Run generator
# 3. Check pod spec lint
# 3. Run update version script. Check pod spec lint
# 4. Check test project, run unit tests
# 5. Increment version
# 6. Update Carthage example project
Expand Down

0 comments on commit be9e0be

Please sign in to comment.