Version: 2.2.2
Please note that extra parameters have been added to the following callbacks:
FUSESDK_REWARDED_AD_COMPLETED
FUSESDK_VIRTUALGOODSOFFER_ACCEPTED
FUSESDK_IAPOFFER_ACCEPTED
The updated callback structs are available in docs/Callbacks.txt
Provides a Marmalade wrapper around FuseSDK for Android and iOS.
This Extension currently supports
ANDROID
IOS
-
Copy the FuseSDK directory into your extensions folder.
-
Subproject the FuseSDK Extension in your Marmalade Project's MKB file
subprojects
{
FuseSDK
}
-
Enable Push Notifications
Edit FuseSDK/source/ExtraAppManifests.txt
Replace com.fusepowered.marmaladesample with your application bundle ID in the two activitiesEdit FuseSDK/source/ExtraManifests.txt
Replace com.fusepowered.marmaladesample with your application bundle ID for the two permissionsReplace notification_large.png and notification_small.png in FuseSDK/res/drawable with your own icons
The names must be the same.
notification_large.png is a 72x72 24-bit png
notification_small.png is a 36x36 24-bit png -
To use the FuseSDK extension in your project, first include the FuseSDK header:
#include "FuseSDK.h"
Next, call 'FuseSDKStartSession' as soon as the app is initialized:
FuseSDKStartSession("app_key");
- Project Settings - Register for callbacks as needed
eg)
FuseSDKRegister(FUSESDK_SESSION_STARTED, &GotSessionReceived, NULL);
FuseSDKRegister(FUSESDK_SESSION_LOGIN_ERROR, &SessionLoginError, NULL);
See FuseSDK/docs/Callbacks.txt for information about callback functions available from the FuseSDK
The Fuse API key can be found in your dashboard view for the app your are integrating by navigating to Admin->Integrate SDK in the Fuseboxx dashboard.
- UnRegister Callbacks when application terminates
eg)
FuseSDKUnRegister(FUSESDK_SESSION_STARTED, &GotSessionReceived);
FuseSDKUnRegister(FUSESDK_SESSION_LOGIN_ERROR, &SessionLoginError);
See the test project in FuseSDK/test for a very simple example of registering and unregistering callbacks, starting a session, and displaying an ad.
See FuseSDK/docs/FuseSDK.txt for a list of function calls supported by the extension
Many FuseSDK callbacks send information as structs through the systemData parameter.
Information about callbacks and the structures they pass can be found in FuseSDK/docs/Callbacks.txt
The test project gives some examples of retrieving callback data from these structs.
By downloading the Fuse Powered SDK, you are granted a limited, non-commercial license to use and review the SDK solely for evaluation purposes. If you wish to integrate the SDK into any commercial applications, you must register an account with Fuse Powered and accept the terms and conditions on the Fuse Powered website.
For more information, please visit http://www.fusepowered.com. For questions or assistance, please email us at [email protected].