Integration

GuideBlocks are re-usable open source components for iOS, Android, Web Apps. GuideBlocks help your App iterate fast and free up developers to work on features instead of engagement. Developers can add GuideBlocks to your App and then allow your Product Managers, Marketers, Designers launch the GuideBlock to target users without having do more coding or AppStore/Play releases.

You can also make an existing App component into a GuideBlock (see instructions), you can then keep private or publish here at https://guideblocks.org

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
    val confettiGuideBlocks = "confetti"

    Contextual.registerGuideBlock(confettiGuideBlocks).observe(this){ contextualContainer ->
        if(contextualContainer.guidePayload.guide.guideBlock.contentEquals(confettiGuideBlocks)){
            val confettiView = ConfettiGuideBlocks(this)
            confettiView.show({
                // Do something on confetti start
            }, {
                // Do something on confetti end
            })
        }
    }
1
2
3
Contextual.sharedInstance().registerGuideBlock(ConfettiGuide(), forKey: "confetti")

// The implementation details of the GuideBlock itself is within the ConfettiGuide class

Last update: 2024-02-14