I’m trying to develop an app that allows a user to select a photo from their photostream. I’d like to set up a test photostream in corona simulator so I can make sure my app works. Is there a way to do this?
Right now, when I run the code I copied from the example:
[lua]
if media.hasSource( media.PhotoLibrary ) then
media.selectPhoto( { mediaSource = media.PhotoLibrary, listener = onPhotoComplete } )
else
native.showAlert( “Corona”, “This device does not have a photo library.”, { “OK” } )
end
[/lua]
it triggers the “This device does not have a photo library” error.
(My dev machine is running Windows 10)