Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work #1

Open
Nourtirga opened this issue Jun 27, 2022 · 7 comments
Open

It doesn't work #1

Nourtirga opened this issue Jun 27, 2022 · 7 comments

Comments

@Nourtirga
Copy link

I installed the apk for testing but both the compass and the needle don't rotate, I tried to implement the code in my project and I got the same result!

@derysudrajat
Copy link
Owner

Hallo @Nourtirga, have you checked your internet and the location is turned on? and also make sure your device has a gyro sensor, to help your problem maybe you can put the log here.

@Nourtirga
Copy link
Author

The location and internet were enabled but it doesn't seem to work on my android 12 device, I checked with other qibla apps because I had already some qibla apps installed on my device they work fine! the compass and the needle are fixed and don't rotate at all.

@derysudrajat
Copy link
Owner

maybe you can show me your code, let me check it

@Nourtirga
Copy link
Author

Nourtirga commented Jun 28, 2022

I get the same result as your apk, It asks for location permission in the first launch, after that nothing happens!
PS: The GPS is enabled and there is internet connexion.
Screenshot_20220628-163103_Permission controller
Screenshot_20220628-163110_compass-qibla

@derysudrajat
Copy link
Owner

based on your screenshot the location is not shown, do you allow the permission on the first screenshot?

@derysudrajat
Copy link
Owner

derysudrajat commented Jun 28, 2022

it is probably the last location is null

@Nourtirga
Copy link
Author

Yes, I allowed the permission after taking the first screenshot and then I took the second screenshot, other qibla apps work fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants