moseoridev / WarpShare

An Open-source AirDrop Alternative
Apache License 2.0
615 stars 40 forks source link

[BUG] App does not go past permissions screen #7

Open Devnol opened 1 year ago

Devnol commented 1 year ago

Describe the bug A clear and concise description of what the bug is. Opening the app for the first time, you are asked to grant permissions. After granting those, that screen does not go away at all.

To Reproduce Steps to reproduce the behavior:

  1. Install latest apk
  2. Open app
  3. Grant permissions
  4. Nothing happens
  5. Tapping the "grant permissions" button again shows a popup to open settings and grant permissions from there, although all permissions have already been granted.

Expected behavior A clear and concise description of what you expected to happen. For some other screen to show up

Smartphone (please complete the following information):

gege-d commented 1 year ago

Does it ask for nearby devices permission? I had the same issue on an older phone with android 8.1 where Bluetooth permission is included in GPS. I removed the Bluetooth permission check and granted GPS permission manually (for some reason it's already listed in permissions) and it worked. I don't know in which android version the nearby devices permission was invented, maybe you issue isn't related to this.

Devnol commented 1 year ago

It does ask for nearby devices yes and I don't see how I can manually grant it gps permissions.

gege-d commented 1 year ago

If it asks for nearby devices permission your issue isn't related to mine and there's no need for granting location permission (in app info). Maybe your issue is also because of Samsung's One UI for some reason not being supported.

kush-mish commented 1 year ago

I am having the same problem on my Xiaomi Redmi Note 7 Pro (Android 10). It just asked for the Storage permission but it is stuck after that.

liapisn commented 1 year ago

Same here

musakahero commented 1 year ago

Same issue, OnePlus 6T (Android 11)

AhmedBinSohail commented 1 year ago

Same here. Google Pixel 4. Android 12.

Yug1900 commented 1 year ago

Same issue Samsung S9+ With Snapdragon Chip Android 10

taesungh commented 1 year ago

Had this issue initially but quickly resolved by making sure wi-fi and bluetooth are enabled. No other permissions needed to be granted besides "Files and media". OnePlus 6, OxygenOS 11.

Glenry commented 1 year ago

@taesungh, turning on both wifi and Bluetooth then open the app, worked for me, I'm on Samsung Galaxy A12 Android 12 (One UI 4.1)

Devnol commented 1 year ago

I tried turning bt and wifi on, closed and reopened the app like some people suggested. The grant permissions page does disappear but the only thing that shows is the WarpShare text in the top bar, just like in basic android sdk apps. I can access settings from the kebab menu and enable discoverable (doesn't work) and if I open some other app and open the share sheet I can select WarpShare but no targets show (my mac airdrop is set to everyone).

taesungh commented 1 year ago

After testing a bit more, I found that the phone must also be connected to a wi-fi network to pass the permissions check. Additionally, it seems that the phone and AirDrop device must be on the same wireless network unlike pure AirDrop 😔

Devnol commented 1 year ago

It is, they are.

musakahero commented 1 year ago

After testing a bit more, I found that the phone must also be connected to a wi-fi network to pass the permissions check. Additionally, it seems that the phone and AirDrop device must be on the same wireless network unlike pure AirDrop 😔

This helped me get through the permissions screen, it's now empty screen with WarpShare on top and menu button on the side. Once I get to test with an iPhone, I'll see if it appears in the list. If you're right about then working only on the same wifi network, then that's a sad revelation.

arukode commented 1 year ago

Had this issue initially but quickly resolved by making sure wi-fi and bluetooth are enabled. No other permissions needed to be granted besides "Files and media". OnePlus 6, OxygenOS 11.

Same here, OnePlus 7 OxygenOS 12, after enabling Bluetooth, closing and reopening the app, it worked.

amirian commented 1 year ago

Same for Motorola moto g52, Android 12. Turning on wifi and Bluetooth doesn't help passing the grant screen