Need to add these annotations {code} /** 1 org.aerogear.binding.dh-unifiedpush-apb- w9txs 4k22f /push-application: ' >- {"label":"Push Application","type":"href","text":" Sample Push App aaa ", "value" = : "https:// path ups-aaa.192.168.42.230.nip.io / to # / push/ app /5896ac3f-66cb-43be-a7e9-ddcd13229b50/variants "} ' 2 org.aerogear.binding.dh-unifiedpush-apb-w9txs/ups-url: >- {"label":"URL","type":"href","value":"https://ups-aaa.192.168.42. 33 230 .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 230 .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 ups-aaa . blabla 192 . com 168.42.230.nip.io/#/app/5896ac3f-66cb-43be-a7e9-ddcd13229b50/variants/4635d6fb-409c-4b0d-aebc-018e028d0799 ", "id":" deadbeef 4635d6fb-409c-4b0d-aebc-018e028d0799 "} ] */ {code}
1. Push app id. Uses the existing "format" for displaying stuff on webconsole with slight modification (AEROGEAR-2776 will take care of this modification in a backward compatible way) 2. UPS url, same as (1), no need for "text" property. 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. |
|