Skip to content

Releases: BitBurst-GmbH/bitlabs-android-library

5.1.0

26 Aug 14:48

Choose a tag to compare

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

16 Jul 13:53

Choose a tag to compare

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.
  • Upgrade some dependencies, nothing breaking.

Full Changelog: 4.0.1...5.0.0

4.0.1

11 Jul 10:52

Choose a tag to compare

What's Changed

  • Bug fixes

Full Changelog: 4.0.0...4.0.1

4.0.0

16 Jun 12:53

Choose a tag to compare

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

05 Jun 11:54

Choose a tag to compare

What's Changed

  • Update settings endpoint and widgets

Full Changelog: 3.2.27...3.2.28

3.2.27

06 Mar 14:51

Choose a tag to compare

What's Changed

  • feat: add supportEdgeToEdge flag for the OfferWall Activity

Full Changelog: 3.2.26...3.2.27

3.2.26

04 Mar 15:30

Choose a tag to compare

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

26 Feb 11:28

Choose a tag to compare

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

30 Jan 15:53

Choose a tag to compare

What's Changed

  • fix: system bars overlap with UI in Android 15

Full Changelog: 3.2.18...3.2.19

3.2.18

26 Jan 13:42

Choose a tag to compare

What's Changed

  • add: make back functionality work with surveys
  • add: change toolbar visibility mechanism

Full Changelog: 3.2.17...3.2.18