GoogleUserMessagingPlatform Framework Reference
UMPDebugSettings
@interface UMPDebugSettings : NSObject <NSCopying>
Overrides settings for debugging or testing.
-
Array of device identifier strings. Debug features are enabled for devices with these
identifiers. Debug features are always enabled for simulators.
Declaration
Swift
var testDeviceIdentifiers: [String]? { get set }
Objective-C
@property (nonatomic, copy, nullable) NSArray<NSString *> *testDeviceIdentifiers;
-
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-04 UTC.
[null,null,["Last updated 2024-12-04 UTC."],[[["`UMPDebugSettings` enables overriding settings for debugging and testing purposes."],["It allows specifying device identifiers for enabling debug features on specific devices or simulators."],["`geography` property enables simulating user's location for testing purposes with different geographical locations."]]],["`UMPDebugSettings` allows overriding settings for debugging and testing. Key actions include setting `testDeviceIdentifiers`, an array of device identifier strings that enable debug features (always enabled for simulators). Another key action is setting the `geography`, which is a debug geography. These settings are accessible and modifiable in both Swift and Objective-C through corresponding property declarations.\n"]]