question

JohnilQuezaada avatar image
JohnilQuezaada asked ·

Open the orders app with an intent

Is there any intent to simply open the orders app?

I don't want to open any specific order, just the orders app, preferably only showing the orders from one specific employee.

OrdersIntents
1 comment
10 |2000 characters needed characters left characters exceeded

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

I am also facing same issue ..Once place order I want to open order application...I am using following code Intent intent = new Intent("com.clover.intent.action.START_ORDER_MANAGE"); intent.putExtra("com.clover.intent.extra.ORDER_ID", orderId); startActivityForResult(intent, CloverConfig.CLOVER_ORDER_ACTIVTY_STATUS); .... but not able to open.... Plz Help....

0 Likes 0 · ·

1 Answer

Jim Patel avatar image
Jim Patel answered ·

The intent is

 com.clover.intent.action.START_ORDER_MANAGE

You can use it with the extra

com.clover.intent.extra.ORDER_ID

to open a specific order.

5 comments Share
10 |2000 characters needed characters left characters exceeded

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

Those intents are not part of the public Clover Android SDK. You may not depend on them working in the future. I'll file an internal issue to publicize these in the Clover Android SDK.

0 Likes 0 · ·

https://docs.clover.com/build/android-apps/intents-and-broadcasts/#comcloverintentactionstart-order-manage

There are several intents listed here that are not part of the public Clover Android SDK.

0 Likes 0 · ·

That's also wrong. I'll file another issue to get it fixed.

0 Likes 0 · ·

Thank You! Unfortunately, this does not work WITHOUT the extra. I don't want to open any specific order, I just want to open the orders app, and show only the orders from the currently logged in employee.

0 Likes 0 · ·

You can use com.clover.intent.action.START_ORDERS to start the orders list screen. Again, this is not technically public and is subject to change.

0 Likes 0 · ·

Welcome to the
Clover Developer Community