R2robot / appodeal-defold-plugin

Appodeal Extension Demo for Defold

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Appodeal Defold Extension

How To Update Extension Manually

Android Part

  • Download new Appodeal Android SDK from Appodeal Docs -> Android. Choose not using MultiDex build. Unzip it somewhere.
  • Copy new AndroidManifest.xml tags from Appodeal Docs -> Android. And replace content between <!-- For Appodeal [version] --> and </application> with copied tags.
  • Replace old jars with new inside appodeal/lib/android.
  • For aar libraries you should do following:
1. Unzip aar somewhere
2. Rename classes.jar and copy it to [appodeal/lib/android](/appodeal/lib/android/)
3. If files exists inside `res` folder, copy all the content of `res` into [appodeal/res/android/res](/appodeal/res/android/res/)
4. If files exists inside `jni` folder, copy only `armeabi-v7a` into [appodeal/res/android/lib](/appodeal/res/android/lib/)
5. Unzip `appodeal-[version].jar` somewhere and copy content of `assets` folder into [appodeal/res/android/assets](/appodeal/res/android/assets/)

iOS Part

cd [path_to_extension]/appodeal/lib/armv64-ios/Appodeal.framework
lipo -remove armv7 Appodeal -o Appodeal
lipo -remove armv7s Appodeal -o Appodeal
lipo -remove i386 Appodeal -o Appodeal
lipo -remove x86_64 Appodeal -o Appodeal
lipo -info Appodeal
# should output: Architectures in the fat file: Appodeal are: arm64 

cd [path_to_extension]/appodeal/lib/armv7-ios/Appodeal.framework
lipo -remove armv64 Appodeal -o Appodeal
lipo -remove armv7s Appodeal -o Appodeal
lipo -remove i386 Appodeal -o Appodeal
lipo -remove x86_64 Appodeal -o Appodeal
lipo -info Appodeal
# should output: Architectures in the fat file: Appodeal are: armv7 

Defold Integration

Please check this readme.

About

Appodeal Extension Demo for Defold


Languages

Language:C++ 58.4%Language:Objective-C++ 20.4%Language:Java 18.0%Language:C 3.2%