Skip to content

Example of native iOS app that hosts micro web application and exposes native mobile features to it.

Notifications You must be signed in to change notification settings

egym/ios-mwa-reference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install capacitor plugins

Capacitor plugins are installed via git submodules

git submodule add https://github.com/ionic-team/capacitor-plugins.git Vendor/capacitor-plugins

then File -> Add Package Dependencies -> Add Local -> add Vendor/capacitor-plugins/preferences (folder containing Package.swift)

On Portal init, import the plugin and add to the portal's plugins list: See ContentView.swift for example:

import PreferencesPlugin
...
plugins: [.type(PreferencesPlugin.self)],

About

Example of native iOS app that hosts micro web application and exposes native mobile features to it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages