Open Francesco-FL opened 10 months ago
Hi, I don't have the time to look at this sorry.
But you can submit a PR. You will need to change: https://github.com/tim-smart/dart_emulators/blob/92eec729a6078ac6a9c2a65b592ecc92d9a49336/lib/src/device/platforms/android_device.dart#L91 https://github.com/tim-smart/dart_emulators/blob/92eec729a6078ac6a9c2a65b592ecc92d9a49336/lib/src/device/platforms/ios_device.dart#L72
I did some research and this is what I found:
I removed the mobile data by editing android_device.dart: 'shell am broadcast -a com.android.systemui.demo -e command network -e mobile hide', I was unable to resolve the anomalous change in the signal bars, so I decided to remove them
For this need to add two parameters in the iOS launch, namely <--cellularBars> <4> to show the 4 signal lines as requested by Apple https://developer.apple.com/app-store/marketing/guidelines/#section-products and <--operatorName> <> to delete the name of the telephone operator. I tested with ios 16.4 and 16.0, and got nothing, while with ios 15.5 it was successful, so I would say it only works with ios 15.5 or lower.
The problem is the version of iOS in the simulator. After iOS 16 it seems that Xcode has a bug that doesn't allow you to edit the status bar https://stackoverflow.com/questions/74507031/xcrun-simctl-status-bar-not-working-on-xcode-14-1
For the language I did a lot of research, but unfortunately I didn't find anything that worked.
Hi, thanks for the plugin you created, it's very useful.
I encountered some situations on the status bar that I'll list for you:
Unless you have other ideas, I thought of this: For the writings, remove them if possible, or otherwise set the locale as the system language, but I still don't know if it's possible. For the cellular signal, it would be enough for me to have the possibility of not putting it on at all, not even in the previous screenshots I had it.