This is a shared open source repository for GuideBlocks that can be used in Android Apps. You can use any of these GuideBlocks here in your App in Conjunction with the Contextual Android SDK and an account at https://dashboard.contextu.al
GuideBlocks save developer time by giving engagement components back to your Product Team and not creating jobs on the product roadmap. This allows you to Code Once, Run Anywhere, Anytime and for Any Users. and then let your Product Team launch, target, customize the appearance of the widget. When would you do this?
There are two ways to use GuideBlocks:
you have an account on the Contextual Dashboard and you've added the Android SDK, you've added the app_key into your App and tested a simple Guide in your App.
In your build.gradle add:
GuideBlock current version:
implementation 'com.github.GuideBlocks-org:Android-GuideBlocks:<LATEST_VERSION>', {
exclude group: 'com.google.android.material'
exclude group: 'com.github.bumptech.glide'
}
import com.contextu.al.confetti.ConfettiGuideBlocks
import com.contextu.al.core.CtxEventObserver
for the GuideBlock you wish to use, then add
val confettiGuideBlocks = "confetti"
Contextual.registerGuideBlock(confettiGuideBlocks).observe(this){ contextualContainer ->
if(contextualContainer.guidePayload.guide.guideBlock.contentEquals(confettiGuideBlocks)){
ConfettiGuideBlocks(this@MainActivity).show()
}
}
Simply wrap your existing code elements into a GuideBlock, even if they are deeply embedded your product team can launch from the Contextual Dashboard.
See the following examples:
You can contribute to https://guideblocks.org by wrapping a code element that would be useful for others to use. The process is:
Title: Confetti
Author: Daniel Quah
Email: support@contextu.al
TestApp: https://github.com/contextu-al/FavDish
TestAppBranch: confetti
Description: Launch confetti to targeted users at any time with this low-code GuideBlock
Acknowledgements: https://github.com/DanielMartinus/Konfetti
Screenshot:
Video: https://vimeo.com/manage/videos/909526616/8efaae6607
Extensibility: {
"guideBlockKey": "Confetti"
}