Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a PR trying to add Capacitor support to the Configurator.
I make it in a draft state because I was trying to make Serial working and I'm having problems to debug it. I've been trying to debug with an FC connected. I have tried wifi debug without luck with a real device, and usb passthrough with the emulator without luck neither. Maybe other with more knowledge (or luck) can give it a try.
I have three commits, to try to let the things clear and be able to divide this PR in parts in the future:
chrome
var here)webSerial.js
file, is where I was trying to do some tests.To test this PR you need to have Android Studio installed. You need some Virtual emulator created (or a real device connected in debug mode). I've added some commands to the
package.json
to make this easier. The steps are:yarn build
yarn cap:sync
yarn cap:android
(you can use too thenpx cap open android
command to open Android Studio with the app and execute from there).Alternativelly to test this faster I've added a
yarn android
command that does the three steps above in one. The hot deploy is not working in this version, it's in the todo list.