项目作者: pycohub
项目描述 :
This repository demos creating capacitor plugin
高级语言: Swift
项目地址: git://github.com/pycohub/CapacitorPluginPOC.git
CapacitorPluginPOC
Demonstrate creating an own plugin and integrate with an existed web application with a simulated flow.
- iOS: Integration Guide
- Android: TBD
The Simulated Flow
- The Web app invokes a native login flow.
- Then User inputs a valid email to “Get OTP“.
- User inputs a valid OTP. Then Native flow callbacks to pass JWT’s Token back to the Web app.
- The web app consumes that token to invoke “Authenticated APIs“ to get a list of products, categories, etc.