tetujin / aware-client-ios-v2

AWARE Client iOS (Version2)
http://www.awareframework.com
22 stars 10 forks source link

Scheduled ESMs not displayed in app #25

Open benediktjordan opened 2 years ago

benediktjordan commented 2 years ago

Hi there, When I try scheduling ESMs by using this config.json file and the iOS ESM plugin in the iOS Aware v2 app, I get

I tried to use the iOS ESM "sensor"/plugin by providing this ESM config file. As planned, the iOS Aware app sent me every hour a notification to take the ESM questionnaire. But when I click on the notification, I am forwarded an empty Aware ESM window - no actual survey is displayed there.

Does anybody know what is broken here?

tetujin commented 2 years ago

Hi @benejo123

Thank you for using Aware-iOS I think you need to use expiration: 60 (or another number bigger than zero) instead of expiration: 0.

This value is time (the unit is a minute) until the expiration of the survey from the trigger. If you use zero for the parameter, the ESM has not appeared on the screen.

Best, Yuuki