[aerogear-dev] [UPS-Console] Showing Registration Code Snippets

Sebastien Blanc scm.blanc at gmail.com
Tue Mar 4 16:20:38 EST 2014


On Tue, Mar 4, 2014 at 9:47 PM, Matthias Wessendorf <matzew at apache.org>wrote:

> When I am on the "snippets" page, and I want to click back (to the actual
> variant), I get this URL (smells like JS error):
>
>
> https://newpush-sblanc.rhcloud.com/#/mobileApps/variant/undefined/undefined/undefined
> (link for the variant in "Applications > Variants > Variant")
>
> Clicking the incorrect link makes the actual page go wild
>
Yeah I saw that :) , pretty scary.
I must be messing something up in the routing. Will take a look tomorrow.


>
>
> On Tue, Mar 4, 2014 at 9:42 PM, Matthias Wessendorf <matzew at apache.org>wrote:
>
>> I like it!
>>
>> for the native iOS code I think some CSS for the background is missing.
>>
>> Cheers!
>> Matthias
>>
>>
>>  On Tue, Mar 4, 2014 at 6:09 PM, Sebastien Blanc <scm.blanc at gmail.com>wrote:
>>
>>>  Hi,
>>>
>>> I've started to work on AGPUSH-550 <https://issues.jboss.org/browse/AGPUSH-550> where
>>> the idea is to generate Device Registration code Snippets that the user can
>>> copy/paste into his client application.
>>>
>>> The flow is quite simple : he chooses a Variant, then click a link on
>>> the right that brings you to the Snippets page.
>>> Since  the console knows the type of the selected variant, the
>>> appropriate  snippet is generated ... Yes "generated" , that means it's not
>>> a static code snippet but it's actually filled with the needed info : UPS
>>> Server URL, Variant ID, Variant Secret, SenderId (for Android).
>>>
>>> For each code snippet, there also the Cordova version for it. So, if you
>>> choose an Android variant for instance you will have :
>>>
>>> [image: Inline image 1]
>>>
>>> And as you can see,  there is also a link to cordova :
>>>
>>> [image: Inline image 2]
>>>
>>> This is still work in progress, needs polishing etc ... But once we got
>>> this, it will be really easy for a new user to get started. All the
>>> variants type are covered : iOS, Android and SPS
>>>
>>> Oh, want to test it live ? Give it a try here :
>>> https://newpush-sblanc.rhcloud.com/ (admin / 123)
>>>
>>> I will probably PR that very soon, in the same time you can check this
>>> branch
>>> https://github.com/sebastienblanc/aerogear-unified-push-server-admin-ui/tree/AGPUSH-550 if
>>> you want to play with it locally.
>>>
>>> See you !
>>> Sebi
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> aerogear-dev mailing list
>>> aerogear-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140304/7e72ca2f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: android.png
Type: image/png
Size: 91550 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140304/7e72ca2f/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cordova.png
Type: image/png
Size: 69117 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140304/7e72ca2f/attachment-0003.png 


More information about the aerogear-dev mailing list