User properties specify the current state of the user. You can use both default and custom properties for tracking and targeting of in-app messages, Conversations and push notifications.
Assign user properties to easily segment your user base and send the status of the user. For example, use the swrve.sim_operator.iso_country_code user property to target users in a certain country, or create a custom user property called premium, and then target non-premium users and premium users.
swrve.language The language of the device.
swrve.sdk_version The Swrve SDK being used.
swrve.service_dpi The dots per inch of the device.
swrve.device_name The name of the device.
swrve.device_width The width of the device in pixels.
swrve.device_height The height of the device in pixels.
swrve.sim_operator.name The mobile operator of the registered SIM card.
swrve.sim_operator.iso_country_code The 2-letter ISO country code of the mobile operator.
swrve.sim_operator.code The unique number assigned to every mobile operator in all countries of the world.
swrve.device_region (iOS SDK 4.0 or higher; Android SDK 4.1 or higher) The 2-letter ISO country code of the selected region of the device.
swrve.permission.ios.photos The user's photo permission status. Possible string values are unknown, unsupported, denied or authorized.
swrve.permission.ios.push_notifications The user's push notifications permission status. Possible string values are unknown, unsupported, denied or authorized.
Swrve.permission.ios.contacts The user's contacts permission status. Possible string values are unknown, unsupported, denied or authorized.
Swrve.permission.ios.location.when_in_use The user's location (when in use) permission status. Possible string values are unknown, unsupported, denied or authorized.
Swrve.permission.ios.location.always The user's location (when in use) permission status. Possible string values are unknown, unsupported, denied or authorized.
Swrve.permission.ios.camera The user's camera permission status. Possible string values are unknown, unsupported, denied or authorized.