项目作者: pycohub

项目描述 :
This repository demos creating capacitor plugin
高级语言: Swift
项目地址: git://github.com/pycohub/CapacitorPluginPOC.git
创建时间: 2020-08-05T14:42:01Z
项目社区:https://github.com/pycohub/CapacitorPluginPOC

开源协议:

下载


CapacitorPluginPOC

Demonstrate creating an own plugin and integrate with an existed web application with a simulated flow.

  1. iOS: Integration Guide
  2. Android: TBD

The Simulated Flow

  1. The Web app invokes a native login flow.
  2. Then User inputs a valid email to “Get OTP“.
  3. User inputs a valid OTP. Then Native flow callbacks to pass JWT’s Token back to the Web app.
  4. The web app consumes that token to invoke “Authenticated APIs“ to get a list of products, categories, etc.