Need to add these annotations {code} 1 org.aerogear.binding.dh-unifiedpush-apb-w9txs/push-application: '{"label":"Push Application","type":" string href "," value text ":"Sample Push App" , "value"="https://path/to/push/app" }' 2 org.aerogear.binding.dh-unifiedpush-apb-w9txs/ups-url: >- {"label":"URL","type":"href","value":"https://ups-aaa.192.168.42.33.nip.io"}
3 org.aerogear.binding-ext-type.dh-unifiedpush-apb-w9txs: unifiedpush 4 org.aerogear.binding-ext.dh-unifiedpush-apb-w9txs/variants: >- [{"type":"Android","url":"https://ups-aaa.192.168.42.33.nip.io/#/app/5896ac3f-66cb-43be-a7e9-ddcd13229b50/variants/5c4ce821-efcc-4585-a9f9-070edeb8d0d3", "id":"5c4ce821-efcc-4585-a9f9-070edeb8d0d3"},{"type":"iOS","url":"https://www.blabla.com", "id":"deadbeef"}] {code}
1. Push app id. Uses the existing "format" for displaying stuff on webconsole. 2. UPS url, same as (1). 3. Extended annotation. Value should be string and constant "unifiedpush" 4. Extended annotation. Should contain all variants in the value.
Some cases to consider: * When push app is deleted, all should be gone * When an Android variant is deleted, only that variant should be gone from (4) * When all variants are deleted but push app is still there, (1), (2) and (3) should still be there * When an iOS variant already exists and then Android variant is added, (4) should still have iOS variant. |
|