Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Cannot fork cordova plugin

$
0
0

Hi,

- Try creating a folder which will contain your plugin files and folders & then create a zip from that folder.

Consider for example :

1- Create a folder named "AssifPlugin", 

2- Create a zip file & it's name will be AssifPlugin.zip 

3-  Make sure the newly created zip has "AssifPlugin" folder 

4- Also the package.json is inside "AssifPlugin" folder. 

5- Then in extensibility configuration :


{
    "resource": "AssifPlugin.zip",
    "plugin": {
        "resource": "AssifPlugin"
    }
}


Note: In your example as per your question, I can see the resource name you mentioned, both are different like 

{ 
   "resource": "cordova-plugin-inapppurchase-master.zip", 
   "plugin": { 
              "resource": "cordova-plugin-inapppurchase" 
             } 
}


Hope it helps,

Assif



Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>