PubscaleOfferwallPlugin class
Methods
-
getPlatformVersion()
→ Future<String?>
-
-
initializeOfferwall(String appKey, String uniqueId, bool sandbox, bool fullscreen)
→ Future<String?>
-
Initializes the offerwall with the provided parameters.
///
appKey is the application key provided by Pubscale.
uniqueId is a unique identifier for the user or device.
sandbox indicates whether to run in sandbox mode (for testing).
fullscreen indicates whether to display the offerwall in fullscreen mode.
Success and failure events will be emitted through the offerwallEvents stream.
-
launchOfferwall()
→ Future<void>
-
Launches the offerwall.
This method will trigger the offerwall to be displayed.
Success and failure events will be emitted through the
offerwallEvents stream.
Make sure to call initializeOfferwall before calling this method.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited