Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_f:a:mobile_subscribe [2022/09/01 01:23] – removed - external edit (Unknown date) 127.0.0.1a_f:a:mobile_subscribe [2025/06/12 03:59] (current) – Change to AwareIM aware_support3
Line 1: Line 1:
 +{{tag>Index Action Action_List Process Mobile}}
 +====== MOBILE SUBSCRIBE ======
 +
 +This action subscribes the mobile device of the user that he logged in from to receive push notifications from the system. This action only works in native mobile applications – it doesn’t work in the browser.Notifications are sent by using the ''MOBILE PUSH'' command (see below). As the result of the successful subscription AwareIM automatically creates an instance of the MobilePhone object and puts it into the Context. The instance can then be used to send notifications to. 
 +
 +===== Example =====
 +
 +<code aim>MOBILE SUBSCRIBE LoggedInRegularUser.Phone = MobilePhome </code>
 +
 +See the [[docs:3300_mobile_apps:080_mobile_applications]] section for more details about push notifications.
 +
 +{{page>docs:5000_videos:370_push_notifications}}
 +
 +