-
I have IBleManager injected into my service class implementation, but i would like to have access to and change the platform specific AppleBleConfiguration (in my situation, i just want to change the ShowPowerAlert bool to true, so i can have the default iOS behavior). Is it possible in any way to change this without messing too much with the implementation? |
Beta Was this translation helpful? Give feedback.
Answered by
aritchie
Feb 16, 2024
Replies: 1 comment
-
You can do following for a MAUI single project: #if IOS
services.AddBluetoothLE(null, new AppleBleConfiguration(true));
#elif ANDROID
services.AddBluetoothLE();
#endif |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AppGod95
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do following for a MAUI single project: