exendahal / maui_wifi_manager

.NET MAUI Wi-Fi Manager is solution for Wi-Fi management features. With these APIs, effortlessly connect, add, and retrieve Wi-Fi network information in cross-platform MAUI applications.
https://github.com/exendahal/WifiManagerMAUI
MIT License
19 stars 5 forks source link

AndroidRuntimeException #7

Closed danygutmann closed 3 days ago

danygutmann commented 3 months ago

Hey, thank you for this great wifi helper! Scanning is working fine, at ConnectWifi and OpenWifiSetting i get this error message:

Android.Util.AndroidRuntimeException: 'Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?'

uf googeling is not solving the issue.. thanks Daniel

exendahal commented 3 months ago

Can you share your Device OS and Manufacturer?

danygutmann commented 3 months ago

Hey, sorry, I could have done that right away when I created it...

Model: SM-S901B Manufacturer: samsung Name: Galaxy S22 OS Version: 14 Idiom: Phone Platform: Android

exendahal commented 3 months ago

I tested the Demo app on a Pixel 6 running Android 15 beta and couldn't replicate the issue. Could you confirm if you're encountering this error on the Demo app with your Samsung device running Android 14?

exendahal commented 2 months ago

Hey @danygutmann did you manage to resolve your issue?

danygutmann commented 2 months ago

Hey @danygutmann did you manage to resolve your issue?

Hey, uf i had personal problems. I try to reproduce & report until end of week, ok? sorry for that... BR Dany

Jakar510 commented 2 months ago

I get this error on a Z Fold 5, Android 14.

danygutmann commented 3 days ago

with the testapp code it works also in my project... A big sorry - it was my fault!

danygutmann commented 3 days ago

can be closed from my side @Jakar510 please reopen if you still have this issue.