Giter Club home page Giter Club logo

mediathand / cordova-plugin-android-fragmentactivity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reallysmallsoftware/cordova-plugin-android-fragmentactivity

0.0 4.0 0.0 29 KB

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.

License: ISC License

JavaScript 13.81% Java 86.19%

cordova-plugin-android-fragmentactivity's Introduction

Installation

cordova plugin add cordova-plugin-android-fragmentactivity --save

or

phonegap plugin add cordova-plugin-android-fragmentactivity

Usage

No manual configuration required.

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.

AndroidManifest.xml is automatically updated to use the new MainActivity.

Credits

Based on cordova-android-fragments (https://github.com/rajivnarayana/CordovaFragments)

History

0.0.9

  • Fix missing import

0.0.8

  • Add onActivityResult callback

0.0.7

  • Merge FrameLayout change
  • Merge ${mypackage} fix

0.0.6

  • Fix stupid cordova-android 7 detection

0.0.5

  • Attempt to avoid crash only seen on Galaxy J1 Ace (5.1.1)

0.0.4

  • Experimental support for cordova-android 7
  • Increased dependency versions

0.0.3

  • Added missing method to activity to handle permission request results

0.0.2

  • Correct log message
  • Add history to README

0.0.1

Initial release

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.