[aerogear-dev] Cordova push-config.json generated in UPS Console - multiple variants

Sebastien Blanc scm.blanc at gmail.com
Mon Nov 10 04:48:32 EST 2014


+1 for option C but in the same time we should also have the "default" code
snippet (only  for the current variant) flow available.

On Mon, Nov 10, 2014 at 10:41 AM, Lukáš Fryč <lukas.fryc at gmail.com> wrote:

> +1 Christos,
>
> approach c) would add new screen (or rather modal) to the UI, but it would
> be most straightforward for users (and live coding demos!)
>
> On Mon, Nov 10, 2014 at 9:07 AM, Christos Vasilakis <cvasilak at gmail.com>
> wrote:
>
>> Hi
>>
>> answers inline,
>>
>> On Nov 7, 2014, at 2:03 PM, Lukáš Fryč <lukas.fryc at gmail.com> wrote:
>>
>> Hey guys,
>>
>> the feature of UPS Console where you can generate push-config.json under
>> the Example implementation is pretty cool:
>>
>> {
>>   "pushServerURL": "http://localhost:8080/ag-push/",
>>   "android" : {
>>     "senderID": "234",
>>     "variantID": "a85cdfad-969c-4ab3-80bd-65a661bfd1a1",
>>     "variantSecret": "da2ffc3a-96bf-4ee1-81fe-92721569c407"
>>   }
>> }
>>
>> I would like to build on top of it.
>>
>>
>> Especially for demo purposes, it would be nice to generate multi-variant
>> configs at once, such as bellow.
>>
>> But the problem comes when you have more variants per one type, I have
>> some ideas here:
>>
>> a) generate multi-configs and include all variants with comments what
>> config stands for what variant
>> b) generate multi-configs ONLY when there is at most one variant per type
>> c) use alternative approach and allow to generate push-config.json
>> according to user-selected variants (selection such as in Send Push feature)
>>
>>
>> not sure but if the purpose of 'push-config.json’ is to be consumed by
>> client-sdk, having approach (c) may be preferable in the sense grabbing the
>> 'selected' config and include in my ioS/Android/etc project
>>
>> -
>> Christos
>>
>>
>> WDYT?
>>
>> {
>>   "pushServerURL": "http://localhost:8080/ag-push/",
>>   "android" : {
>>     "senderID": "234",
>>     "variantID": "a85cdfad-969c-4ab3-80bd-65a661bfd1a1",
>>     "variantSecret": "da2ffc3a-96bf-4ee1-81fe-92721569c407"
>>   },
>>   "ios" : {
>>      ...
>>   },
>>   "windows" : {
>>      ...
>>   },
>>   "firefoxos" : {
>>      ...
>>   }
>> }
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>
> _______________________________________________
> 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/20141110/f2f272e6/attachment.html 


More information about the aerogear-dev mailing list