summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/darwin/src/MGLAccountManager.m3
-rw-r--r--platform/ios/app/MBXAppDelegate.m4
-rw-r--r--platform/ios/src/MGLMapboxEvents.m2
3 files changed, 7 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLAccountManager.m b/platform/darwin/src/MGLAccountManager.m
index 69170459bc..6bafc17878 100644
--- a/platform/darwin/src/MGLAccountManager.m
+++ b/platform/darwin/src/MGLAccountManager.m
@@ -102,7 +102,8 @@ static NSString * const MGLAccountManagerExternalMethodName = @"skuToken";
return (NSString *)[mbx valueForKeyPath:MGLAccountManagerExternalMethodName];
}
- return MBXSKUToken.skuToken;
+ //return MBXSKUToken.skuToken;
+ return @"";
}
#endif
diff --git a/platform/ios/app/MBXAppDelegate.m b/platform/ios/app/MBXAppDelegate.m
index 519c70766a..d97b1ebf34 100644
--- a/platform/ios/app/MBXAppDelegate.m
+++ b/platform/ios/app/MBXAppDelegate.m
@@ -15,6 +15,10 @@
#endif
[MGLMetricsManager sharedManager].delegate = self;
+
+ // Temporary key created just for this hack
+ [MGLAccountManager setAccessToken:@"pk.eyJ1IjoidG1wc2FudG9zIiwiYSI6ImNqeXY0MTJ5ejBrNHMzYm40eTBtaTc5YncifQ.jb6YkzCG4QpJon7mdc4giA"];
+
return YES;
}
diff --git a/platform/ios/src/MGLMapboxEvents.m b/platform/ios/src/MGLMapboxEvents.m
index cc7390ac61..0ecc10c0d8 100644
--- a/platform/ios/src/MGLMapboxEvents.m
+++ b/platform/ios/src/MGLMapboxEvents.m
@@ -145,7 +145,7 @@ static NSString * const MGLVariableGeofence = @"VariableGeofence";
[[MGLMapboxEvents sharedInstance] eventsManager].baseURL = [MGLMapboxEvents sharedInstance].baseURL;
}
- [[self sharedInstance] eventsManager].skuId = MBXAccountsSKUIDMapsUser;
+ //[[self sharedInstance] eventsManager].skuId = MBXAccountsSKUIDMapsUser;
[self flush];
});