Search code examples
androidalarmmanagersmartface.io

How to start app when phone starts with smartface.io


I am using Notifications.local.scheduleNotification to schedule a notification. However, if the phone is rebooted before the fire event, the notification does not fire.

I would like to have the app start when the phone boots up so that I can add the notification to the alarm manager again. In the android manifest I would be asking for the following permission.

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

How can this be implemented in smartface?


Solution

  • Today, this is not supported by Smartface, but there will be plugin support soon, you can write your own plugin and use it.

    Also for licenced users, there is an option to ask for new implementations. If they need some new features, they can report them to Smartface team, and these features will be added to road map.