mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
[Core] Remove Options.androidClientID and Options.trackingID (#15013)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
9f311f2376
commit
7ac5bcb35f
4 files changed
+3
-36
No files matched your search
@@ -4,6 +4,9 @@
|
||||
- [removed] **Breaking change**: Removed the `Options.deepLinkURLScheme`
|
||||
property. This API was exclusively used by the Dynamic Links SDK, which
|
||||
has been removed.
|
||||
- [removed] **Breaking change**: Removed the following unused API.
|
||||
- `Options.androidClientID`
|
||||
- `Options.trackingID`
|
||||
|
||||
# Firebase 11.15.0
|
||||
- [fixed] Remove c99 as the required C language standard. (#14950)
|
||||
|
||||
@@ -20,11 +20,9 @@
|
||||
|
||||
// Keys for the strings in the plist file.
|
||||
NSString *const kFIRAPIKey = @"API_KEY";
|
||||
NSString *const kFIRTrackingID = @"TRACKING_ID";
|
||||
NSString *const kFIRGoogleAppID = @"GOOGLE_APP_ID";
|
||||
NSString *const kFIRClientID = @"CLIENT_ID";
|
||||
NSString *const kFIRGCMSenderID = @"GCM_SENDER_ID";
|
||||
NSString *const kFIRAndroidClientID = @"ANDROID_CLIENT_ID";
|
||||
NSString *const kFIRDatabaseURL = @"DATABASE_URL";
|
||||
NSString *const kFIRStorageBucket = @"STORAGE_BUCKET";
|
||||
// The key to locate the expected bundle identifier in the plist file.
|
||||
@@ -232,15 +230,6 @@ static dispatch_once_t sDefaultOptionsDictionaryOnceToken;
|
||||
_optionsDictionary[kFIRClientID] = [clientID copy];
|
||||
}
|
||||
|
||||
- (NSString *)trackingID {
|
||||
return self.optionsDictionary[kFIRTrackingID];
|
||||
}
|
||||
|
||||
- (void)setTrackingID:(NSString *)trackingID {
|
||||
[self checkEditingLocked];
|
||||
_optionsDictionary[kFIRTrackingID] = [trackingID copy];
|
||||
}
|
||||
|
||||
- (NSString *)GCMSenderID {
|
||||
return self.optionsDictionary[kFIRGCMSenderID];
|
||||
}
|
||||
@@ -259,15 +248,6 @@ static dispatch_once_t sDefaultOptionsDictionaryOnceToken;
|
||||
_optionsDictionary[kFIRProjectID] = [projectID copy];
|
||||
}
|
||||
|
||||
- (NSString *)androidClientID {
|
||||
return self.optionsDictionary[kFIRAndroidClientID];
|
||||
}
|
||||
|
||||
- (void)setAndroidClientID:(NSString *)androidClientID {
|
||||
[self checkEditingLocked];
|
||||
_optionsDictionary[kFIRAndroidClientID] = [androidClientID copy];
|
||||
}
|
||||
|
||||
- (NSString *)googleAppID {
|
||||
return self.optionsDictionary[kFIRGoogleAppID];
|
||||
}
|
||||
|
||||
@@ -49,11 +49,6 @@ NS_SWIFT_NAME(FirebaseOptions)
|
||||
*/
|
||||
@property(nonatomic, copy, nullable) NSString *clientID;
|
||||
|
||||
/**
|
||||
* Unused.
|
||||
*/
|
||||
@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE;
|
||||
|
||||
/**
|
||||
* The Project Number from the Google Developer's console, for example @"012345678901", used to
|
||||
* configure Firebase Cloud Messaging.
|
||||
@@ -65,11 +60,6 @@ NS_SWIFT_NAME(FirebaseOptions)
|
||||
*/
|
||||
@property(nonatomic, copy, nullable) NSString *projectID;
|
||||
|
||||
/**
|
||||
* Unused.
|
||||
*/
|
||||
@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE;
|
||||
|
||||
/**
|
||||
* The Google App ID that is used to uniquely identify an instance of an app.
|
||||
*/
|
||||
|
||||
@@ -37,12 +37,6 @@ to GoogleService-Info.plist attributes.
|
||||
* Is there a better way to manage the fields that are only used by one product? *clientID*, *databaseURL*,
|
||||
and *storageBucket*.
|
||||
|
||||
## Unused FirebaseOptions
|
||||
Proposal: Deprecate these in the SDK and stop generating them for GoogleService-Info.plist.
|
||||
|
||||
* *androidClientID*
|
||||
* *trackingID*
|
||||
|
||||
## Unread GoogleService-Info.plist fields
|
||||
Proposal: Stop generating these for GoogleService-Info.plist.
|
||||
|
||||
|
||||
Reference in new issue
Block a user