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

Remove delaies #380

Merged
merged 3 commits into from
Sep 27, 2021
Merged

Remove delaies #380

merged 3 commits into from
Sep 27, 2021

Conversation

bannzai
Copy link
Owner

@bannzai bannzai commented Sep 26, 2021

Abstract

Quick Recordの処理でプロセスをキープするためにdelayをかけていたがこれを削除する

Why

Quick Recordがたまに失敗する。と言うことでFirebaseMessagingのコード等も読んだが多少処理をフックして何かをやっているが特にここに原因はなさそうだった。他に思いたるライブラリもない。ランダムに起きると言うことなので何となく不確実性が大きそうなdelayの処理を省いてみる

Firebase Messaging: https://github.com/FirebaseExtended/flutterfire/blob/master/packages/firebase_messaging/firebase_messaging/ios/Classes/FLTFirebaseMessagingPlugin.m#L322-L346

@bannzai bannzai merged commit 6176ea0 into main Sep 27, 2021
@bannzai bannzai deleted the remove/delay branch September 27, 2021 00:41
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

Successfully merging this pull request may close these issues.

1 participant