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

Play an exception in IOS #14

Closed
hanj315 opened this issue Nov 20, 2018 · 5 comments
Closed

Play an exception in IOS #14

hanj315 opened this issue Nov 20, 2018 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@hanj315
Copy link

hanj315 commented Nov 20, 2018

In ios 12.0.1, in the example, the first recorded resource is always played.
(Besides the first play is normal, other play is noise)

@hyochan hyochan added the help wanted Extra attention is needed label Nov 22, 2018
@hyochan
Copy link
Collaborator

hyochan commented Nov 22, 2018

@hanj315 Could you be more specific? I don't quite get your situation. What was your step to reproduce this?

@hanj315
Copy link
Author

hanj315 commented Nov 22, 2018

@dooboolab I'm sorry I didn't describe the problem clearly.
run flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.10.2, on Mac OS X 10.14 18A391, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.4)
[!] VS Code (version 1.19.0)
[✓] Connected device (2 available)

! Doctor found issues in 1 category.

my operation steps:
· Open example/ios/Runner.xcworkspace with Xcode, set up signing, open example with IntelliJ IDEA, connect Mac computer with IOS 12.0.1 mobile phone, and click to run and install.
Later operations such as:
· Click the Record button to display the recording time 00:02:57, click the play button, display and play 00:02:55 normally;
· Then, click the recording button, showing the recording time at 00:05:91, click the play button, showing the play at 00:02:55, actually playing more than two seconds of murmur;
· After that, click the recording button, showing the recording time at 00:00:78, click the playback button, showing the playback time at 00:02:55, actually playing less than a second of the murmur.

I use the simulator, when deleting files, it will still show the first playing time of the murmur. I just started learning about mobile development, but I don't know much about it. I feel it is caused by the default cache mechanism of ios. I think using new Builder with different keys should be able to solve this problem.

@Basim-Elayan
Copy link

I have the same issue.

@hyochan hyochan added the bug Something isn't working label Dec 9, 2018
This was referenced Dec 9, 2018
@hyochan hyochan closed this as completed in 06c075b Dec 9, 2018
@hyochan
Copy link
Collaborator

hyochan commented Dec 9, 2018

Please try version above 1.2.0. Thanks.

@Basim-Elayan
Copy link

Yes, It's working right now, Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants