Getnet DocsGetnet Docs

Customize the SDK

This guide explains the two ways the SDK Demo App customizes the SDK from the integrating app, and when each change takes effect.

How it works

The demo app’s Customization menu demonstrates both models. The difference that matters is the moment each change is read.

TypeApplied atTakes effectRequires reinitialization?
ColorsSDK build time, inside BrSetupClientAfter the next reinitialize(…)Yes
ReceiptsSDK build time, inside BrSetupClientAfter the next reinitialize(…)Yes
Navigation — extra or replaced screensOn the already-initialized clientImmediatelyNo

Build-time customization

Colors and receipts are read while the SDK is built, so changing them requires a full shutdown() and setup(…) cycle. That is what reinitialize does.

Plan for this in your own app: a user-facing theme switch cannot take effect until you reinitialize the SDK.

Runtime customization

Navigation customization is applied to the running client through customizeNavigation, so it takes effect immediately.

Use it to insert a cashback or tip step, or to replace a native SDK screen with your own Composable.

Next steps