Skip to content

An android cordova plugin that provides a replacement activity to the default activity to start a cordova application with MainActivity as a Fragment Activity. Useful when you want to add native views on top of cordova webview.

Notifications You must be signed in to change notification settings

rajivnarayana/CordovaFragments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

cordova plugin add cordova-android-fragments

Usage

Replace MainActivity in AndroidManifest.xml to "com.webileapps.fragments.MainActivity" and launch your application.

How it works

This plugin comes bundled with a CordovaFragment (which is a Fragment similar to CordovaActivity) and a MainActivity that extends AppCompatActivity and adds CordovaFragment using FragmentTransactions.

TODO

Create a hook that replaces activity name in AndroidManifesh.xml to launch MainActivity.java in our source directory

About

An android cordova plugin that provides a replacement activity to the default activity to start a cordova application with MainActivity as a Fragment Activity. Useful when you want to add native views on top of cordova webview.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages