-
Notifications
You must be signed in to change notification settings - Fork 91
Use Case: Custom Rendering of Experiments: User created Notifications
This api call allows the experimenter to create a reminder or message to a user from the experiment rendering form on the mobile device. It also allows the user to get back into the experiment easily by clicking on the notification. An experiment can only create one notification at any given time.
A programmer using custom rendering should have an api,
paco.createNotification("title")
that they can call to communicate to the user. If the user clicks on the notification, it should be dismissed and take the user to the experiment executor form.
A programmer using custom rendering should have an api,
paco.removeNotification()
that they can call to remove a previous notification from the tray.
If the experiment is stopped or expires, the user-created notifications for that experiment should be deleted from the tray.