floatinghotpot / cordova-facebook-audnet-sdk

Facebook AudienceNetwork SDK for Cordova
0 stars 19 forks source link

Upgrade to 4.8.1 #2

Open jason-engage opened 8 years ago

jason-engage commented 8 years ago

Hi, how can we upgrade this plugin to use the latest facebook SDK? Is there a way to manually do this? Thanks

floatinghotpot commented 8 years ago

you can download this plugin zip file and extract to your local folder, overwrite the jar & framework with the file from facebook sdk, then cordova plugin add <path-to-your-folder>

jason-engage commented 8 years ago

Just overwrite the .jar file? (AudienceNetwork.jar)

floatinghotpot commented 8 years ago

the jar is only for android, you need also replace the framework, which is for ios.

jason-engage commented 8 years ago

Perfect thank you

On Sun, Nov 15, 2015 at 9:10 PM, Raymond Xie notifications@github.com wrote:

the jar is only for android, you need also replace the framework, which is for ios.

— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-facebook-audnet-sdk/issues/2#issuecomment-156889716 .

[image: ENGAGE] http://www.engageify.com/

jason-engage commented 8 years ago

Ok I think I figured it out.

Run cordova plugin remove cordova-plugin-facebookads cordova plugin remove cordova-facebook-audnet-sdk

then copy over the updated audnet folder in the plugins directory Update the plugin.xml file -> change 4.7.0 to 4.8.1

then run cordova plugin add cordova-plugin-facebookads

And everything should be ok.