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

[Feature Request] Headless start from aa #32

Closed
lovegaoshi opened this issue Aug 12, 2024 · 2 comments
Closed

[Feature Request] Headless start from aa #32

lovegaoshi opened this issue Aug 12, 2024 · 2 comments

Comments

@lovegaoshi
Copy link
Owner

see birkir/react-native-carplay#158 for an ios implementation; the key here is to somehow initialize the js engine and make it a singleton that is sharable between the activity and the service. the current proposed implementation is to avoid all of this together and just force launch the activity from service.

does headlessJsTaskService start the reactContext? whatelse is needed to make js respond to service?

@lovegaoshi
Copy link
Owner Author

reactInstanceManager.createReactContextInBackground();

@lovegaoshi
Copy link
Owner Author

react native/js does start from service..?
image

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

No branches or pull requests

1 participant