Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios file picker does nothing #41

Open
thejacer87 opened this issue Jan 2, 2019 · 7 comments
Open

ios file picker does nothing #41

thejacer87 opened this issue Jan 2, 2019 · 7 comments

Comments

@thejacer87
Copy link

thejacer87 commented Jan 2, 2019

when i run the example and try to pick a file from my music on a real iPhone (emulator doesn't work AFAIK, since you can't put songs on the emulator) nothing happens.

None of the songs get loaded into the player. In fact I can't even hit cancel to go back (edit 2: i can cancel if i hit it immediately, but if i try to select a song, then cancel, it hangs). Just stuck in the music file picker. so i have to manually close and restart the example (edit: apparently if i leave it long enough, it just crashes the app).

error output in the xcode console (not sure if i can get a flutter error since I'm running it on a real device):

https://pastebin.com/E44pCMFM

@faku99
Copy link
Member

faku99 commented Jan 2, 2019

Which iOS version are you running? I did not look into iOS 12 changes but Apple might have changed the way the music picker works thus making the Stereo example not compatible.

I'm currently in an exam period for school so I'll not have time to look into it but as soon as I'm done with it, I'll give it a look.

@thejacer87
Copy link
Author

ya looks like i am using iOS 12.

@thejacer87
Copy link
Author

also, an fyi, i'm not sure exactly how/why its happening, but i had to modify ios/.symlinks/plugins/stereo/pubspec.yml

the iosPrefix was causing issues in the build. maybe it's part of the ios 11/12 differences for flutter

flutter:
  plugin:
    androidPackage: com.twofind.stereo
    pluginClass: StereoPlugin
#   iosPrefix: ST

@MarkOSullivan94
Copy link

@thejacer87 did you have any further steps? I have no ios/.syslinks directory and even whenever I've updated the project pubspec yaml it doesn't help

@thejacer87
Copy link
Author

thejacer87 commented Mar 27, 2019

@MarkOSullivan94 ios/symlinks, not syslinks. haven't been working on this project for a long time, so i have no help to offer, sorry. :)

hopefully @faku99 will be able to fix it for you

@MarkOSullivan94
Copy link

Whoops sorry, typo! I couldn't see that either last night sadly 😞

Thanks for responding anyway!

@pandeysudhan
Copy link

pandeysudhan commented Jun 3, 2019

also, an fyi, i'm not sure exactly how/why its happening, but i had to modify ios/.symlinks/plugins/stereo/pubspec.yml

the iosPrefix was causing issues in the build. maybe it's part of the ios 11/12 differences for flutter

flutter:
  plugin:
    androidPackage: com.twofind.stereo
    pluginClass: StereoPlugin
#   iosPrefix: ST

You Solved it @thejacer87
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants