GoogleUserMessagingPlatform Framework Reference

  • 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


@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;
  • Debug geography.

    Declaration

    Swift

    var geography: DebugGeography { get set }

    Objective-C

    @property (nonatomic) UMPDebugGeography geography;