Comments (22)
@heysadboy Yes. Go ahead.
from phimpme-android.
You can use this guide to implement the runtime permissions in android the correct way.
from phimpme-android.
from phimpme-android.
@pa1pal Can I work on this issue?
from phimpme-android.
Actually I fixed this. When I was writing code for camera PERMISSION, I asked storage and location permissions too.
Please Check the PR.
from phimpme-android.
@dynamitechetan Thanks. Please do inform in advance from next time if you work on a bug collectively to avoid clashes.
from phimpme-android.
@dynamitechetan Yes you did permissions part in your PR, good job.
But app in crashing on newGallery.java for Read external storage permission. It needs to be done there as well. Look at the stack trace for more info.
from phimpme-android.
@pa1pal I wrote the permission check in the Phipme activity. I tried a fresh install on my friends phone it's not crashing.
from phimpme-android.
@dynamitechetan on which android version? Its crashing on my Marshmallow device.
from phimpme-android.
Marshamallow and Nougat.
from phimpme-android.
It is strange. Wait.
from phimpme-android.
@pa1pal It is crashing on marshmallow. I checked.
from phimpme-android.
@heysadboy @dynamitechetan implemented runtimepermissions using this library. It ask for permissions later, but first crash with the above log.
from phimpme-android.
Okay. Trying to fix this.
from phimpme-android.
i think you should use 25.0.1+ build toolds.
edit this in gradle files
from phimpme-android.
The build tools are 25.0.2 @optnio00
from phimpme-android.
ok
Then open Android terminal in android studio and see what is the error and then ask again or google that error
from phimpme-android.
@optnio00 The error arises due to the updated google guidelines to explicitly accept the permissions from user. It would be great if you could attach screenshots so we know more. The build tools are 25.0.2, please see if you are working on development branch.
from phimpme-android.
No this error was due in onResume method of NewGallery.java
Actually this was being called before I checked for permissions.
I wrote a check for that now.
from phimpme-android.
Which PR @dynamitechetan ?
from phimpme-android.
@pa1pal isn't this solved?
from phimpme-android.
@Abhi2424shek it wasn't fixed in #52.
#64 did the fix.
from phimpme-android.
Related Issues (20)
- Update uCrop to 2.x HOT 4
- Error Showing when we go for gradle project sync in the android studio aap dependicy HOT 2
- Problem in scrolling accounts/elements in "Accounts" tab in small screen mobile phones HOT 5
- Account Activity's RecyclerView.OnItemTouchListener not working HOT 3
- Error while building the project: Grade Sync Failed HOT 3
- Request: Option to disable splash screen HOT 7
- Crash HOT 7
- Error while building the project: Evaluating the project
- Not work on poco f1 HOT 3
- Share image to other platforms feature not working HOT 1
- Theme is not Working HOT 1
- There is no Filter Option HOT 1
- Failed to Build Project HOT 1
- Black screen when clicking the edit button on any picture HOT 2
- Use image processing features as if it were a library? HOT 2
- Failed to build HOT 1
- Google Play version does not open HOT 1
- Code quality image got not found and app site not found
- Some readme issues
- found a bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phimpme-android.