View on GitHub

sensibill-android-documentation

Sensibill Entry Points (UI)

Receipt Capture

Example:

val captureIntent = ReceiptCaptureActivityBuilder.getBuilder()
                    .withExternalAccountTransactionId("my_transaction_id")
                    .withShowProcessing(true)
                    .withExternalMetadata(null)
                    .build(this)
startActivity(captureIntent)

Launching Receipt Detail Activity

val receiptID = "receipt-id"
startActivity(ReceiptDetailActivity.newIntent(context, receiptID))

Launching Receipt Export List Activity

Using SDK Fragment

There are couple of fragments that you can embed in your app’s activities for seamless integration between SDK and your app.

All these fragments can also be embedded directly in the layout file (except SBMainTabsFragment).

<activity
    android:name=".activities.DemoMainActivity"
    android:screenOrientation="portrait"
    android:theme="@style/Theme.Sensibill"
/>

IMPORTANT Make sure that Theme.Sensibill or a style extending Theme.Sensibill is applied to any activity hosting a Sensibill Fragment in the Android Manifest