Skip to content

A sample cordova app to demonstrate cordova hooks implementation

Notifications You must be signed in to change notification settings

gandhirajan/Cordova_Hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova_Hooks

A sample cordova app to demonstrate cordova hooks implementation

In this case, i have parameterized the value of APP_ID variable which is required to install cordova facebook plugin(cordova-plugin-facebook4)

This hook will be executed before platform add.

This hook reads the config_base.xml and replaces the APPID variable with the value passed as TARGET environment variable in command prompt and generates config.xml file out of it.

Ensure to remove facebook plugin and android platform before using this hook.

To use this hook, execute the following commands in command prompt from your project root directory: set TARGET=APP_ID_VALUE cordova platform add android

About

A sample cordova app to demonstrate cordova hooks implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published