forked from github/jpush-phonegap-plugin
37 lines
1.3 KiB
HTML
37 lines
1.3 KiB
HTML
<ion-header>
|
|
<ion-navbar>
|
|
<ion-title>
|
|
JPush Ionic Example
|
|
</ion-title>
|
|
</ion-navbar>
|
|
</ion-header>
|
|
|
|
<ion-content padding>
|
|
|
|
<ion-list>
|
|
<ion-item>
|
|
<div>Registration Id: {{registrationId}}</div>
|
|
<button ion-button full (click)="getRegistrationID()">Get Registration Id</button>
|
|
</ion-item>
|
|
|
|
<ion-item>
|
|
<button ion-button full (click)="setTags()">Set tags - Tag1, Tag2</button>
|
|
<button ion-button full (click)="addTags()">Add tags - Tag3, Tag4</button>
|
|
<button ion-button full (click)="checkTagBindState()">Check tag bind state - Tag1</button>
|
|
<button ion-button full (click)="deleteTags()">Delete tags - Tag4</button>
|
|
<button ion-button full (click)="getAllTags()">Get all tags</button>
|
|
<button ion-button full (click)="cleanTags()">Clean tags</button>
|
|
</ion-item>
|
|
|
|
<ion-item>
|
|
<button ion-button full (click)="setAlias()">Set Alias - TestAlias</button>
|
|
<button ion-button full (click)="getAlias()">Get Alias</button>
|
|
<button ion-button full (click)="deleteAlias()">Delete Alias</button>
|
|
</ion-item>
|
|
|
|
<ion-item>
|
|
<button ion-button full (click)="addLocalNotification()">Trigger local notification after 5 seconds</button>
|
|
</ion-item>
|
|
</ion-list>
|
|
</ion-content>
|