Skip to content

Comments

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

Open
robwalkerco wants to merge 1 commit intoexpo:mainfrom
robwalkerco:chore/activateKeepAwake
Open

chore(runtime): Migrate from activateKeepAwake to activateKeepAwakeAsync#603
robwalkerco wants to merge 1 commit intoexpo:mainfrom
robwalkerco:chore/activateKeepAwake

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