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

Init is not working - Device not Found - 1307 #2

Open
shylendramadda opened this issue Jan 26, 2024 · 3 comments
Open

Init is not working - Device not Found - 1307 #2

shylendramadda opened this issue Jan 26, 2024 · 3 comments

Comments

@shylendramadda
Copy link

Getting No Device Connected message even after connecting MFS100. It is working fine in the Mantra RD Service app which is downloaded from the Play Store https://play.google.com/store/apps/details?id=com.mantra.rdservice&hl=en_IN&gl=US

When I debug I can see the response code as Device not Found - 1307

@shylendramadda
Copy link
Author

FYI: It is happening only in Samsung Tablet with Android OS 13 but the same working in Samsung mobile with Android OS 11

@ntshvicky
Copy link
Owner

ntshvicky commented Jan 27, 2024

I will check.. might be some permission issue.. because some permissions features had updated after android 12

@shylendramadda
Copy link
Author

shylendramadda commented Jan 29, 2024

The issue is related to

java.lang.IllegalArgumentException: com.mantra.BiometricAttendance: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.

Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.

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