Hi Jessie,
Yes, I forgot to say that I added also this permission in my manifest as suggested by my others readings...
I just ask a simple question: how can you add <receiver> tag in you manifest in you Xamarin Forms app ? If I do so (that was I made the first time), I got an error during compilation (or deployment, I do not remember exactly).
Documentation says that the manifest is automatically updated according to attributes set on the function...and when I go to the "obj" subfolder of my android project, I can find the modified manifest that contains thes lines :
<application android:largeHeap="true" android:label="ElhomMobilityStorengy"
android:name="crc64d3e6e025a3206700.MainApplication" android:allowBackup="true" android:icon="@drawable/icon"
android:debuggable="true" android:extractNativeLibs="true">
....
<receiver android:enabled="true" android:exported="true" android:name="crc64d3e6e025a3206700.ServiceStarter">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
....
</application>
I see some difference with your code, for exemple the presence of permission attribute on the rceiver tag...could it be the problem in my case ? I see that I can put a Permission on the BroadCastReciver attribute...
Regards.