Skip to content

Commit e864567

Browse files
committed
more clean up
1 parent 02a97ba commit e864567

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

demo/android_prompt.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ User operations:
2929
3030
Alias operations:
3131
- addAlias(label: String, id: String)
32+
- addAliases(aliases: Map<String, String>)
3233
- removeAlias(label: String)
3334
- removeAliases(labels: Collection<String>)
3435
@@ -42,11 +43,14 @@ SMS operations:
4243
4344
Tag operations:
4445
- addTag(key: String, value: String)
46+
- addTags(tags: Map<String, String>)
4547
- removeTag(key: String)
48+
- removeTags(keys: Collection<String>)
4649
- getTags(): Map<String, String>
4750
4851
Trigger operations:
4952
- addTrigger(key: String, value: String)
53+
- addTriggers(triggers: Map<String, String>)
5054
- removeTrigger(key: String)
5155
- clearTriggers(keys: Collection<String>)
5256
@@ -73,8 +77,8 @@ Location:
7377
- promptLocation()
7478
7579
Privacy consent:
76-
- setConsentGiven(given: Boolean)
77-
- isConsentGiven(): Boolean
80+
- setPrivacyConsent(granted: Boolean)
81+
- getPrivacyConsent(): Boolean
7882
7983
Notification sending (via REST API, delegated to OneSignalService):
8084
- sendNotification(type: NotificationType): Boolean
@@ -133,7 +137,7 @@ In MainViewModel.kt, implement observers:
133137
3. **Send Push Notification Section** (Simple, With Image, Custom buttons)
134138
4. **In-App Messaging Section** (Pause toggle)
135139
5. **Send In-App Message Section** (Top Banner, Bottom Banner, Center Modal, Full Screen)
136-
6. **Aliases Section** (RecyclerView with Add/Remove All)
140+
6. **Aliases Section** (RecyclerView with Add/Remove)
137141
7. **Emails Section** (RecyclerView with Add, collapsible >5 items)
138142
8. **SMS Section** (RecyclerView with Add, collapsible >5 items)
139143
9. **Tags Section** (RecyclerView with Add, individual remove only)
@@ -245,10 +249,6 @@ Aliases Section (placed after Send In-App Message):
245249
- REMOVE ALIASES button → opens checkbox dialog (see Reusable Remove Multi Dialog below)
246250
- Only visible when at least one alias exists
247251
- Red background color
248-
- REMOVE ALL ALIASES button:
249-
- Only visible when at least one alias exists
250-
- Red background color
251-
- Removes all displayed aliases at once
252252
```
253253

254254
### Prompt 2.7 - Emails Section

0 commit comments

Comments
 (0)