Releases: BitBurst-GmbH/bitlabs-android-library
Releases · BitBurst-GmbH/bitlabs-android-library
5.1.0
What's Changed
- Support deep linking to specific offers or magic. Use:
offerwall.openOffer(context, offerId)
offerwall.openMagicReceiptsMerchant(context, merchantId)
offerwall.openMagicReceiptsOffer(context, offerId)Full Changelog: 5.0.0...5.1.0
5.0.0
What's Changed
-
Publish Android SDK to Maven Central
- Now, the recommended coordinates for the dependency is
com.prodege.bitlabs:core:5.0.0. Youc an remove the Jitpack repository in that case, since we use mavenCentral - The Jitpack coordinates are still valid, but they will be deprectaed in the future, so use the newer one instead.
- Now, the recommended coordinates for the dependency is
-
Upgrade some dependencies, nothing breaking.
Full Changelog: 4.0.1...5.0.0
4.0.1
4.0.0
What's Changed
- Refactor the SDK allow the creating of multiple Offerwall instances
- Deprecate old way of initialisation.
- Optimise UI by using Jetpack Compose
Breaking
- Increase the minSdk to 21
New Offerwall usage:
// Create the instance
val offerwall = BitLabs.OFFERWALL.create("APP_TOKEN", "UID")
// Add tags
offerwall.tags["is_premium"] = true
// Add additional option
offerwall.options["theme"] = "dark"
// Add onSurveyRewardListener, triggered on every reward received from a survey
offerwall.onSurveyRewardListener = OnSurveyRewardListener { reward ->
// implementation
}
// Add onOfferwallClosedListener, triggered when the offerwall is closed
offerwall.onOfferwallClosedListener = OnOfferwallClosedListener { reward ->
onRewardListener?.onOfferwallClosed()
}
// launch the offerwall
offerwall.launch(activityContext)New API usage
BitLabs.API.getSurveys(OnResponseListener, OnexceptionListener)
BitLabs.API.checkSurveys(OnResponseListener, OnexceptionListener)Full Changelog: 3.2.28...4.0.0
3.2.28
3.2.27
What's Changed
- feat: add supportEdgeToEdge flag for the OfferWall Activity
Full Changelog: 3.2.26...3.2.27
3.2.26
What's Changed
- fix: status bar icons have the same colour as status bar
Full Changelog: 3.2.24...3.2.26
3.2.24
What's Changed
- feat: prevent BitLabsOfferwallActivity from turning landscape in Offerwall pages
- fix: change provider name to avoid conflicts with providers of host apps
Full Changelog: 3.2.19...3.2.24
3.2.19
3.2.18
What's Changed
- add: make back functionality work with surveys
- add: change toolbar visibility mechanism
Full Changelog: 3.2.17...3.2.18