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]: Run CoronaCards with Metal #612

Closed
ArkeshGKalathiya opened this issue Aug 26, 2023 · 6 comments · Fixed by #613
Closed

[IOS]: Run CoronaCards with Metal #612

ArkeshGKalathiya opened this issue Aug 26, 2023 · 6 comments · Fixed by #613

Comments

@ArkeshGKalathiya
Copy link

Describe the bug
I have integrated CoronaCards with Flutter SDK, and there is weird bug whenever app is brought into foreground, it shows black flash.

I searched forum, and there is one bug regarding this and the solution is to use Metal backend.

So is there any way to use CoronaCards with Metal? ( I checked and it uses GLKView )

@ArkeshGKalathiya
Copy link
Author

@Shchvova

@Shchvova
Copy link
Contributor

CoronaCards-angle.framework.zip
Hello. Please see if this works for you at all. You can rename framework and file in it to be a drop-in replacement.

@Shchvova Shchvova reopened this Aug 26, 2023
@ArkeshGKalathiya
Copy link
Author

@Shchvova Thanks for getting back so quickly.

I have following errors when integrating the file.

Screenshot 2023-08-26 at 8 31 36 AM

And here is my podspec configuration

Screenshot 2023-08-26 at 8 33 24 AM

@ArkeshGKalathiya
Copy link
Author

@Shchvova

It's been resolved now. I had to do extra step regarding renaming. For anyone else stumbling into this in future, here it is.

Just rename shortcut inside framework to CoronaCards as well. ( If you are renaming from CoronaCards-angle to CoronaCards )

Screenshot 2023-08-26 at 8 40 05 AM

@Shchvova
Copy link
Contributor

That is what I meant by renaming file inside ;)

@Shchvova
Copy link
Contributor

I will add it to the next build. For now use the file I attached.

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 a pull request may close this issue.

2 participants