izivkov / RemoteVideoCam

MIT License
115 stars 14 forks source link

App fails to start - I only see the "This app requires WiFi connection" toast. #8

Closed jaimet closed 1 year ago

jaimet commented 1 year ago

I'm running RemoteVideoCam on 3 different phones all connected to the same broadcast domain:

Motorola Moto G (XT1032) works perfectly Samsung Galaxy S4 (SGH-M919) works perfectly OnePlus 5T (A5010) fails to start - all I get is the "This app requires WiFi connection..." toast.

All three phones are using v2.7 from f-droid (apk md5sum starts a140...).

Would a logcat help?

izivkov commented 1 year ago

Are you sure your OnePlus is connected to your WiFi network? If it is, maybe the telecom network takes precidence. Can you temporarily disable your telephone network and try again?

On Fri., Oct. 28, 2022, 12:05 p.m. Jaime, @.***> wrote:

I'm running RemoteVideoCam on 3 different phones all connected to the same broadcast domain:

Motorola Moto G (XT1032) works perfectly Samsung Galaxy S4 (SGH-M919) works perfectly OnePlus 5T (A5010) fails to start - all I get is the "This app requires WiFi connection..." toast https://github.com/izivkov/RemoteVideoCam/blob/master/app/src/main/java/org/avmedia/remotevideocam/MainActivity.kt#L44 .

All three phones are using v2.7 from f-droid https://f-droid.org/repo/org.avmedia.remotevideocam_27.apk (apk md5sum starts a140...).

Would a logcat help?

— Reply to this email directly, view it on GitHub https://github.com/izivkov/RemoteVideoCam/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37SOJEXD45OWO664Y5LWFP2TDANCNFSM6AAAAAARRGWMKY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

izivkov commented 1 year ago

One thing you can try is to go the Android Settings -> Apps and Notification -> RemoteVideoCam and Clear Storage. Then run the app again.

I will check why the app does not start after disconnecting and connecting back on WiFi.

Thanks for reporting.

Ivo

On Fri, Oct 28, 2022 at 1:58 PM Ivo Zivkov @.***> wrote:

Are you sure your OnePlus is connected to your WiFi network? If it is, maybe the telecom network takes precidence. Can you temporarily disable your telephone network and try again?

On Fri., Oct. 28, 2022, 12:05 p.m. Jaime, @.***> wrote:

I'm running RemoteVideoCam on 3 different phones all connected to the same broadcast domain:

Motorola Moto G (XT1032) works perfectly Samsung Galaxy S4 (SGH-M919) works perfectly OnePlus 5T (A5010) fails to start - all I get is the "This app requires WiFi connection..." toast https://github.com/izivkov/RemoteVideoCam/blob/master/app/src/main/java/org/avmedia/remotevideocam/MainActivity.kt#L44 .

All three phones are using v2.7 from f-droid https://f-droid.org/repo/org.avmedia.remotevideocam_27.apk (apk md5sum starts a140...).

Would a logcat help?

— Reply to this email directly, view it on GitHub https://github.com/izivkov/RemoteVideoCam/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37SOJEXD45OWO664Y5LWFP2TDANCNFSM6AAAAAARRGWMKY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jaimet commented 1 year ago

Are you sure your OnePlus is connected to your WiFi network? If it is, maybe the telecom network takes precidence. Can you temporarily disable your telephone network and try again?

This is really weird. I temporarily disabled my telephone network and I was able to start the app successfully. I then thought "Great - that is the solution." But...

Then I re-enabled my telephone network and the app did not start again.

Then I re-disabled my telephone network (hence only wifi now) and still the app did not start. Huh?

Disable and re-enable wifi (telephone network still disabled from previous step hence only wifi is connected) - still the app does not start. Huh?

After a "Clear cache", still the app does not start. After a "Clear storage", the app does start.

Here is a logcat "failure" session (piped through "grep remotevideocam") - hopefully this helps.

izivkov commented 1 year ago

Thanks, I'll look into it, but I am a bit busy at the moment, so not sure when I can get to it. At least you have a workaround.

izivkov commented 1 year ago

This happens when the phone is using its mobile connection instead of the WiFi connection. It is different for different phones, but maybe disabling your mobile connection temporary will solve the problem. The app has no control over that, so I am closing this issue.

Quantum-Future commented 3 weeks ago

I have the same problem on a Xiaomi Mi 9 Lite (Android 9). I have only WiFi active. Cellular data is not active and also disabled on the properties of the app (No mobile data usage).

izivkov commented 3 weeks ago

Is it working with other phones for you?

On Thu, Jun 6, 2024 at 7:14 AM Quantum-Future @.***> wrote:

I have the same problem on a Xiaomi Mi 9 Lite (Android 9). I have only WiFi active. Cellular data is not active and also disabled on the properties of the app (No mobile data usage).

— Reply to this email directly, view it on GitHub https://github.com/izivkov/RemoteVideoCam/issues/8#issuecomment-2152072207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37QEJIV6KXBJBM5RJVLZGBAAVAVCNFSM6AAAAABI4QICWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJSGA3TEMRQG4 . You are receiving this because you modified the open/close state.Message ID: @.***>