[com.chucklefish.stardewvalley] Stardew Valley asks for storage permission
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
Affected app
Name: Stardew Valley
Package id: com.chucklefish.stardewvalley
Describe the bug
When you first launch the app you get asked to allow storage permission, however even after granting it, it keeps asking on every launch without allowing you to proceed.
To Reproduce
Steps to reproduce the behavior:
- Launch the app
- Grant storage permission
Expected behavior
The app would get past the splash screen without asking for storage permission.
Screenshots
Screenshots in order:
- https://cdn.discordapp.com/attachments/444899329237581839/773520155313176576/Screenshot_20201104-140955843.jpg
- https://cdn.discordapp.com/attachments/444899329237581839/773520155728019466/Screenshot_20201104-141003802.jpg
- https://cdn.discordapp.com/attachments/444899329237581839/773520156198567936/Screenshot_20201104-141011688_1.jpg
And a screen recording: https://cdn.discordapp.com/attachments/444899329237581839/773520424327708711/20-11-04-14-11-53.mp4
System
Android Version: 10
Custom ROM: Corvus 9.5 (though it happens on every ROM I've tried)
microG
microG Core version: 0.2.11.202414
microG Self-Check results: All ticked
Additional context
The app was bought on Google Play Store on browser and was installed using Aurora Store.
Here's some logs: https://cdn.discordapp.com/attachments/444899329237581839/773522045697785856/logcat_11-04-2020_14-18-54.txt
<<< log_count = 39 >>>
[11-04 14:09:45.829 1837:2202 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity bnds=[32,1269][235,1626]} from uid 10155
[11-04 14:09:46.028 1837:1962 I/ActivityManager]
Start proc 29464:com.chucklefish.stardewvalley/u0a269 for pre-top-activity {com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}
[11-04 14:10:03.835 1837:6376 I/ActivityTaskManager]
START u0 {act=android.settings.APPLICATION_DETAILS_SETTINGS dat=package:com.chucklefish.stardewvalley cmp=com.android.settings/.applications.InstalledAppDetails} from uid 10269
[11-04 14:10:36.178 1837:6081 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity bnds=[32,1558][235,1915]} from uid 10155
[11-04 14:10:40.783 1837:1955 I/ActivityManager]
Killing 29464:com.chucklefish.stardewvalley/u0a269 (adj 905): remove task
[11-04 14:10:40.835 1837:3334 I/WindowManager]
WIN DEATH: Window{9e8250b u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}
[11-04 14:10:43.997 1837:3334 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity bnds=[32,1269][235,1626]} from uid 10155
[11-04 14:10:44.052 1837:1962 I/ActivityManager]
Start proc 29618:com.chucklefish.stardewvalley/u0a269 for pre-top-activity {com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}
[11-04 14:11:28.867 1837:9672 I/ActivityTaskManager]
START u0 {act=android.settings.APPLICATION_DETAILS_SETTINGS dat=package:com.chucklefish.stardewvalley cmp=com.android.settings/.applications.InstalledAppDetails} from uid 10269
[11-04 14:11:32.763 1837:1955 I/ActivityManager]
Killing 29618:com.chucklefish.stardewvalley/u0a269 (adj 905): remove task
[11-04 14:11:32.810 1837:2202 I/WindowManager]
WIN DEATH: Window{5365bd3 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}
[11-04 14:11:51.531 1837:3334 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity bnds=[32,1865][235,2222]} from uid 10155
[11-04 14:11:51.591 1837:1962 I/ActivityManager]
Start proc 29758:com.chucklefish.stardewvalley/u0a269 for pre-top-activity {com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}
[11-04 14:11:56.200 1837:11709 I/ActivityTaskManager]
START u0 {act=android.settings.APPLICATION_DETAILS_SETTINGS dat=package:com.chucklefish.stardewvalley cmp=com.android.settings/.applications.InstalledAppDetails} from uid 10269
[11-04 14:17:09.635 1837:1955 I/ActivityManager]
Killing 29758:com.chucklefish.stardewvalley/u0a269 (adj 905): remove task
[11-04 14:17:09.698 1837:2073 W/InputDispatcher]
channel '4957534 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
[11-04 14:17:09.698 1837:2073 E/InputDispatcher]
channel '4957534 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
[11-04 14:17:09.698 1837:11709 I/WindowManager]
WIN DEATH: Window{4957534 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}
[11-04 14:17:09.698 1837:11709 W/InputDispatcher]
Attempted to unregister already unregistered input channel '4957534 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity (server)'
[11-04 14:17:33.927 1837:3334 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity bnds=[32,1319][235,1676]} from uid 10155
[11-04 14:17:33.978 1837:1962 I/ActivityManager]
Start proc 30444:com.chucklefish.stardewvalley/u0a269 for pre-top-activity {com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}
[11-04 14:17:33.989 30444:30444 E/h.stardewvalle]
Not starting debugger since process cannot load the jdwp agent.
[11-04 14:17:33.997 30444:30444 W/h.stardewvalle]
Core platform API violation: Ljava/lang/reflect/Field;->accessFlags:I from Landroid/os/Build; using reflection
[11-04 14:17:34.149 30444:30444 W/monodroid]
Trying to load sgen from: /data/app/com.chucklefish.stardewvalley-3pLnWw53A4t52-_2GtS9Aw==/lib/arm64/libmonosgen-2.0.so
[11-04 14:17:35.086 1837:1960 I/ActivityTaskManager]
Displayed com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity: +1s154ms
[11-04 14:17:36.241 1837:2814 E/InputDispatcher]
Window handle Window{7f8ea8d u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel
[11-04 14:17:36.630 29535:29535 V/GrantPermissionsActivity]
Permission grant result requestId=-1356325509333602729 callingUid=10269 callingPackage=com.chucklefish.stardewvalley permission=com.android.vending.CHECK_LICENSE isImplicit=false result=1
[11-04 14:17:37.643 1837:2814 I/ActivityTaskManager]
START u0 {act=android.settings.APPLICATION_DETAILS_SETTINGS dat=package:com.chucklefish.stardewvalley cmp=com.android.settings/.applications.InstalledAppDetails} from uid 10269
[11-04 14:17:37.672 1837:2814 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel
[11-04 14:17:37.690 1837:5494 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel
[11-04 14:17:37.705 1837:5494 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel
[11-04 14:17:37.724 1837:2814 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel
[11-04 14:17:37.759 1837:2814 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel
[11-04 14:17:37.768 1837:2814 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel
[11-04 14:17:37.772 1837:2813 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel
[11-04 14:17:38.822 30483:30483 V/BatteryUtils]
package: com.chucklefish.stardewvalley
[11-04 14:17:38.974 29535:29552 W/Role]
com.chucklefish.stardewvalley not qualified for android.app.role.HOME due to missing RequiredComponent{mIntentFilterData=IntentFilterData{mAction='android.intent.action.MAIN', mCategories='[android.intent.category.HOME]', mDataScheme='null', mDataType='null'}, mPermission='null', mMetaData=[]}
[11-04 14:17:38.977 29535:29552 W/Role]
com.chucklefish.stardewvalley not qualified for android.app.role.DIALER due to missing RequiredComponent{mIntentFilterData=IntentFilterData{mAction='android.intent.action.DIAL', mCategories='[]', mDataScheme='null', mDataType='null'}, mPermission='null', mMetaData=[]}
[11-04 14:17:38.983 29535:29552 W/Role]
com.chucklefish.stardewvalley not qualified for android.app.role.SMS due to missing RequiredComponent{mIntentFilterData=IntentFilterData{mAction='android.provider.Telephony.SMS_DELIVER', mCategories='[]', mDataScheme='null', mDataType='null'}, mPermission='android.permission.BROADCAST_SMS', mMetaData=[]}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue's logcat around MainActivity and the repeated launches of com.chucklefish.stardewvalley. Reproduce the permission prompt on Android 10 and compare the permission result with the app's behavior; done means granting storage permission allows the app past the splash screen without another prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100