I’m hitting a hurdle just starting out…
Whenever I call
MediaLibrary.getAlbumsAsync() both my iPhone and iPad (on same account) and another iPhone on a different account, the Expo client crashes silently. It works fine on the simulator.
Here’s a snack demonstrating this - it’s the stock
App.js, with just the imports and
Is this a bug? Am I missing something obvious?
P.S. Wasn’t sure if this should go here, or in Expo Client, but feeling it’s code/SDK related rather than the app.
What iOS devices are you using? I just ran your snack on my iPhone 7s running the latest iOS version and I’m not experiencing the crash. Also, what version of the Expo Client are you running? If not the latest, can you try updating it?
Odd! I’ve tested on a iPad Pro (latest) and 2 iPhone X’s.
Latest OS and Expo client. I wonder if there’s something odd and in common between my and my wife’s photos library. I have an old iPad I can clean install on and try with.
Hadn’t realised you can access the iOS crash log - dug that out and attaching below. Doesn’t mean much to me though.
Correction to my original post. It works fine in the online simulator. The crash occurs in the simulator with XCode, running iOS 12.2, with the stock set of photos and no albums. Downloading 12.1 in simulator now to test.
Update: iOS 12.1 works correctly, iOS 12.2 fails. Error in log is:
Apr 29 22:03:07 Colins-MacBook-Pro Exponent: assertion failed: 18E226 16E226: libxpc.dylib + 80700 [B558DAD6-9E08-3208-B352-1CA4137B67C8]: 0x7d
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.