question

Danielle Cox avatar image
Danielle Cox asked rachel Deactivated answered

How to change the button text on modify_order

I have the following in my android_manifest :

     <activity
        android:name=".RegisterPhone"
        android:exported="true"
        android:label="@string/titleButtonRewardsPhone"
        android:theme="@style/Theme.AppCompat.Light.Dialog">
        <intent-filter>
            <action android:name="clover.intent.action.MODIFY_ORDER" />
            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>

However, the button is the appName. It is not the android:label that I have there. Per the example, it seems the button should be the text in label.

Am I missing something?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

rachel avatar image
rachel Deactivated answered

The button takes its text from the app’s name. This is to ensure that merchants know which app is modifying their order.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

rachel avatar image
rachel Deactivated answered

The button takes its text from the label that is declared in the application tag, not the activity tag. This is to ensure that merchants know which app is modifying their order.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community