Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Config: Remove deprecated APIs #6546

Closed
paulb777 opened this issue Sep 23, 2020 · 0 comments · Fixed by #6637
Closed

Remote Config: Remove deprecated APIs #6546

paulb777 opened this issue Sep 23, 2020 · 0 comments · Fixed by #6637

Comments

@paulb777
Copy link
Member

Please remove deprecations in public headers in Firebase 7


~/gh4/firebase-ios-sdk/FirebaseRemoteConfig/Sources/Public/FirebaseRemoteConfig (master) $ git grep -B5 -i deprecat
FIRRemoteConfig.h-/// Indicates the default value in seconds to abandon a pending fetch request made to the backend.
FIRRemoteConfig.h-/// This value is set for outgoing requests as the timeoutIntervalForRequest as well as the
FIRRemoteConfig.h-/// timeoutIntervalForResource on the NSURLSession's configuration.
FIRRemoteConfig.h-@property(nonatomic, assign) NSTimeInterval fetchTimeout;
FIRRemoteConfig.h-/// Indicates whether Developer Mode is enabled.
FIRRemoteConfig.h:@property(nonatomic, readonly) BOOL isDeveloperModeEnabled DEPRECATED_MSG_ATTRIBUTE(
--
FIRRemoteConfig.h-    "details.");
FIRRemoteConfig.h-/// Initializes FIRRemoteConfigSettings, which is used to set properties for custom settings. To
FIRRemoteConfig.h-/// make custom settings take effect, pass the FIRRemoteConfigSettings instance to the
FIRRemoteConfig.h-/// configSettings property of FIRRemoteConfig.
FIRRemoteConfig.h-- (nonnull FIRRemoteConfigSettings *)initWithDeveloperModeEnabled:(BOOL)developerModeEnabled
FIRRemoteConfig.h:    DEPRECATED_MSG_ATTRIBUTE("This no longer needs to be set during development. Refer to "
--
FIRRemoteConfig.h-
FIRRemoteConfig.h-/// Applies Fetched Config data to the Active Config, causing updates to the behavior and appearance
FIRRemoteConfig.h-/// of the app to take effect (depending on how config data is used in the app).
FIRRemoteConfig.h-/// @param completionHandler Activate operation callback.
FIRRemoteConfig.h-- (void)activateWithCompletionHandler:(nullable FIRRemoteConfigActivateCompletion)completionHandler
FIRRemoteConfig.h:    DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig activateWithCompletion:] instead.");
FIRRemoteConfig.h-
FIRRemoteConfig.h:/// This method is deprecated. Please use -[FIRRemoteConfig activateWithCompletionHandler:] instead.
FIRRemoteConfig.h-/// Applies Fetched Config data to the Active Config, causing updates to the behavior and appearance
FIRRemoteConfig.h-/// of the app to take effect (depending on how config data is used in the app).
FIRRemoteConfig.h-/// Returns true if there was a Fetched Config, and it was activated.
FIRRemoteConfig.h-/// Returns false if no Fetched Config was found, or the Fetched Config was already activated.
FIRRemoteConfig.h:- (BOOL)activateFetched DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig activate] instead.");
--
FIRRemoteConfig.h-/// Gets the config value of a given namespace.
FIRRemoteConfig.h-/// @param key              Config key.
FIRRemoteConfig.h-/// @param aNamespace       Config results under a given namespace.
FIRRemoteConfig.h-- (nonnull FIRRemoteConfigValue *)configValueForKey:(nullable NSString *)key
FIRRemoteConfig.h-                                          namespace:(nullable NSString *)aNamespace
FIRRemoteConfig.h:    DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig configValueForKey:] instead.");
--
FIRRemoteConfig.h-/// @param aNamespace       Config results under a given namespace.
FIRRemoteConfig.h-/// @param source           Config value source.
FIRRemoteConfig.h-- (nonnull FIRRemoteConfigValue *)configValueForKey:(nullable NSString *)key
FIRRemoteConfig.h-                                          namespace:(nullable NSString *)aNamespace
FIRRemoteConfig.h-                                             source:(FIRRemoteConfigSource)source
FIRRemoteConfig.h:    DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig configValueForKey:source:] instead.");
--
FIRRemoteConfig.h-/// @param source           The config data source.
FIRRemoteConfig.h-/// @param aNamespace       The config data namespace.
FIRRemoteConfig.h-/// @return                 An array of keys under the given source and namespace.
FIRRemoteConfig.h-- (nonnull NSArray<NSString *> *)allKeysFromSource:(FIRRemoteConfigSource)source
FIRRemoteConfig.h-                                         namespace:(nullable NSString *)aNamespace
FIRRemoteConfig.h:    DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig allKeysFromSource:] instead.");
--
FIRRemoteConfig.h-/// @param aNamespace       The namespace in which to look up the keys. If the namespace is invalid,
FIRRemoteConfig.h-///                         returns an empty set.
FIRRemoteConfig.h-/// @return                 The set of parameter keys that start with the specified prefix.
FIRRemoteConfig.h-- (nonnull NSSet<NSString *> *)keysWithPrefix:(nullable NSString *)prefix
FIRRemoteConfig.h-                                    namespace:(nullable NSString *)aNamespace
FIRRemoteConfig.h:    DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig keysWithPrefix:] instead.");
--
FIRRemoteConfig.h-///
FIRRemoteConfig.h-/// @param defaults         A dictionary mapping a NSString * key to a NSObject * value.
FIRRemoteConfig.h-/// @param aNamespace       Config under a given namespace.
FIRRemoteConfig.h-- (void)setDefaults:(nullable NSDictionary<NSString *, NSObject *> *)defaults
FIRRemoteConfig.h-          namespace:(nullable NSString *)aNamespace
FIRRemoteConfig.h:    DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig setDefaults:] instead.");
--
FIRRemoteConfig.h-///                 [[FIRRemoteConfig remoteConfig] setDefaultsFromPlistFileName:@"defaultSamples"];
FIRRemoteConfig.h-/// @param aNamespace The namespace where the default config is set.
FIRRemoteConfig.h-- (void)setDefaultsFromPlistFileName:(nullable NSString *)fileName
FIRRemoteConfig.h-                           namespace:(nullable NSString *)aNamespace
FIRRemoteConfig.h-    NS_SWIFT_NAME(setDefaults(fromPlist:namespace:))
FIRRemoteConfig.h:        DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig setDefaultsFromPlistFileName:] instead.");
--
FIRRemoteConfig.h-/// @param aNamespace       The namespace of default config.
FIRRemoteConfig.h-/// @return                 Returns the default value of the specified key and namespace. Returns
FIRRemoteConfig.h-///                         nil if the key or namespace doesn't exist in the default config.
FIRRemoteConfig.h-- (nullable FIRRemoteConfigValue *)defaultValueForKey:(nullable NSString *)key
FIRRemoteConfig.h-                                            namespace:(nullable NSString *)aNamespace
FIRRemoteConfig.h:    DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig defaultValueForKey:] instead.");
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy