File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
examples/BeaconstacExample/app/src/main/java/com/mobstac/beaconstacdemo Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,12 +155,12 @@ Beaconstac.getInstance().overrideBeaconstacNotification(new BeaconstacNotificati
155
155
__ 7. Add additional values to your webhooks__
156
156
157
157
``` java
158
- beaconstac . addValuesToWebhook(MY_KEY , VALUE );
158
+ Beaconstac . getInstance() . addValuesToWebhook(MY_KEY , VALUE );
159
159
```
160
160
161
161
OR
162
162
``` java
163
- beaconstac . addValuesToWebhook(MY_KEY_VALUE_HASHMAP );
163
+ Beaconstac . getInstance() . addValuesToWebhook(MY_KEY_VALUE_HASHMAP );
164
164
```
165
165
166
166
__ 8. Set user's name__
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public void onRuleTriggered(MRule rule) {
81
81
private void initializeBeaconstac () {
82
82
if (checkPermission ()) {
83
83
try {
84
- beaconstac = Beaconstac .initialize (getApplicationContext (), "08ddda7aabcbecfa54b29f6d032d7d289eb241b5 " , new MSErrorListener () {
84
+ beaconstac = Beaconstac .initialize (getApplicationContext (), "MY_DEVELOPER_TOKEN " , new MSErrorListener () {
85
85
@ Override
86
86
public void onError (MSException e ) {
87
87
Log .e ("Beaconstac" , "Initialization failed" );
You can’t perform that action at this time.
0 commit comments