Registered ;ocal notifications get lost when your Android device is rebooted. To reregister those local notifications again when the device is started again, you need a BroadcastReceiver class in your Android project;
[BroadcastReceiver]
[IntentFilter(new[] { Intent.ActionBootCompleted })]
public class NotificationsBootReceiver : BroadcastReceiver
{
public async override void OnReceive(Context context, Intent intent)
{
//define the necessary actions heer
}
}
And in the manifest:
<receiver android:name=".NotificationsBootReceiver" android:enabled="true" android:exported="true" android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
This is all you need, to make it work. You can define a Toast message in the OnReceive method, to get noticed that the BootReceiver works.