Various UI plugins including SwiftUI, Jetpack Compose, Flutter, Ionic Portals, HighCharts and more.
APACHE-2.0 License
This workspace manages the suite of plugins listed above.
In general, when in doubt with what to do, just npm start
.
You will need Flutter installed.
Uncomment sections in:
tools/assets/App_Resources/iOS/Podfile
tools/assets/App_Resources/Android/settings.gradle
To run on Android, build the flutter module first
cd apps/demo/flutter_views/.android
./gradlew Flutter:assemble
npm start
> focus.{any-plugin}
ENTER will focus the workspace to a single plugin for working on it in isolation.
The swift-ui plugin is currently managed here and we have testing code for it here: https://github.com/NativeScript/ui-kit/blob/main/tools/assets/App_Resources/iOS/src/BasicViewProvider.swift ... however when focusing on any other plugins, you would need to rename those .swift > .off so they aren't included in the demo to work with other plugins. Since the supporting .swift files include SwiftUIProvider which comes from only the swift-ui plugin.
npm run add
At the prompt, enter the name of the new package.
packages
with the necessary boilerplate to just start developingtools/demo
where you can write demo code once and share across all demo flavorsnpm start
interactive displaynpm run add-angular
At the prompt, enter the name of the package to add an angular
folder to it with the necessary boilerplate to provide Angular support to the package.
npm start
Note: good to always clean the demo you plan to run after focusing. (You can clean any demo from npm start
as well)
npm run publish-packages