suraj0208 / WhatsappExtensions

Xposed module for WhatsApp
Apache License 2.0
100 stars 34 forks source link

delete #38

Closed akane-tendo closed 2 years ago

akane-tendo commented 6 years ago

suraj0208 commented 6 years ago

@badjester whatever changes you've done in LockPreferenceService to make it work for nougat, Are they working for you? I did same and many users complained that they cannot archive chats. I had problems too. where it couldnt set the read permissions to shared prefs file. I did a chmod from the same service and it appears to be working.

badjester commented 6 years ago

It isn't working if I hide chats and then restart WhatsApp, as it should be. But as far I can see it is working if I hide chats, switch to WhatsApp Extensions settings and send it to background (to get a call of onPause). After this I restart WhatsApp and it works. Looks like only the activity can change the permissions of the file?

suraj0208 commented 6 years ago

Yeah what I think is when LockPreferenceService is started from whatsapp it doesnt allow permissions to be changed. I didnt check the logcat if exception was thrown ( do check it for learning purpose and update me :D ) . So decided to do chmod from there.

badjester commented 6 years ago

Have you seen this? Maybe you App has to request the write permissions in addition to the manifest entry so this is working?

https://stackoverflow.com/questions/8854359/exception-open-failed-eacces-permission-denied-on-android

But I will also check logcat as soon as possible.

minazvakil commented 6 years ago

Any update on this Surajkumar. Have you been able to solve this.

minazvakil commented 6 years ago

@badjester -can u suggest me how to activate this ?