appcues / appcues-android-sdk

The Appcues Android SDK
https://www.appcues.com/mobile
MIT License
10 stars 3 forks source link

✨ Custom components (Reverse embeds) #649

Closed andretortolano closed 3 weeks ago

andretortolano commented 1 month ago

Custom components - Reverse embeds

Initially designed for Hackcues, this new feature enables customers to design their own custom components and register to Appcues statically through the static call Appcues.registerCustomComponent.

At first AppcuesExperienceActions was a class, later changed to an interface to allow mocking it in the debugger and record all calls and display it as a list.

Exposing the config properties properly required some minor refactoring to a beautify() method used in the data package to allow reusability across the project (particularly the debugger for this feature)

✅ - Implementation ✅ - Public api documentation ✅ - Unit tests ✅ - Expose custom component via debugger ✅ - Add documentation regarding installation in /docs