This is a Gideros plugin example which calls Tapjoy, Firebase and AdMob functions.
This directory is exported using 'Export Project' > 'iOS'
- Find
// ABPluginExample -->
- gabplugin.h/mm
- ABPlugin.h/mm - ABPlugin.mm requires compile option -fobjc-arc
- abpluginbinder.cpp
- Add remote-notification to UIBackgroundModes in Info.plist to get push notification.
- GoogleService-Info.plist (If you use Firebase/AdMob)
- For your AdMob integration, see https://developers.google.com/admob/ios/quick-start#update_your_infoplist
This directory is exported using 'Export Project' > 'Android (Old)'
To add Firebase and Tapjoy, you need to change project settings a lot. Please diff with your fresh project or see this commit - https://github.com/keewon/abplugin_for_gideros/commit/fcb54c1eb0b41de3b7df1d641701cf16ac1ba58e
- Find
<!-- ABPlugin: Tapjoy and Google products -->
- Find
// ABPlugin
- In app level build.gradle, you need to add configurations for native build. Find
// ABPlugin -->
- In app/src/main/java/com/giderosmobile/android
- ABPlugin.java
- In app/src/main/jni
- abpluginbinder.cpp
- gabplugin.h/cpp
- and more
See https://github.com/keewon/abplugin_for_gideros/blob/master/assets/abplugin.lua
- Add them to abplugin.lua
- Add them to abpluginbinder.cpp
- Implement them in gabplugin.x or ABPlugin.x