lysdyt / openmobster

Automatically exported from code.google.com/p/openmobster
0 stars 0 forks source link

Improve the Android Configuration process #150

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If an Android app uses multiple channels, can you specify multiple 
<sync-push-messages> elements in open mobster-app.xml?
This is an enhancement needed for the Push messages. They need to be associated 
with a channel. I am going to be redoing the android configuration soon after 
the release. I will make sure I add this to it.

Original issue reported on code.google.com by openmobs...@gmail.com on 26 Sep 2012 at 5:31

GoogleCodeExporter commented 8 years ago
This is now possible using the openmobster-app.xml. This now goes as follows:

<app-conf>
    <encryption>false</encryption>

    <push>
        <launch-activity-class>org.openmobster.core.mobileCloud.android_native.framework.App</launch-activity-class>
        <icon-name>push</icon-name>
    </push>

    <channels>
        <channel name='crm_ticket_channel'>
            <sync-push-message>You have {0} CRM Ticket Update(s)</sync-push-message>
        </channel>
    </channels>
</app-conf>

Original comment by openmobs...@gmail.com on 10 Nov 2012 at 5:01