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

chore(runtime): Migrate from activateKeepAwake to activateKeepAwakeAsync #603

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robwalkerco
Copy link

Why

When playing with some snacks, I was spotting this getting logged to the console - Chrome: activateKeepAwakeis deprecated. UseactivateKeepAwakeAsync instead. so I thought it would be helpful if I open a PR to resolve the deprecation notice,

Replication steps:

Kapture.2024-08-23.at.14.53.51.mp4

How

This was a simple search and replace PR :)

Test Plan

I was not able to fully test this, as I not able to get the local web-player running locally within the Expo Snack website :(
I tried running runtime and runtime-shell with port 19006 and although they were running locally, noting was being rendered, and I was getting 404 errors for http://snack.expo.test/index.bundle?platform=web&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.baseUrl=%2Fv2%2F51&transform.routerRoot=app

@robwalkerco robwalkerco requested a review from byCedric as a code owner August 23, 2024 14:45
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