question

jhauge avatar image
jhauge asked ·

com.clover.engine-2087.apk looks to have been build for STG instead of DEV

Aloha, installing com.clover.engine-2087 results in the device pointing to your STaGing environment. Using a previous version fixes the issue and correctly points to your DEVelopment environment, but as soon as the App Updater runs and updates, version 2087 is installed on top and results in the same problem pointing to STG. Please rebuild for DEV environment. Mahalo



Emulator
4 comments
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 pinged release management to see if they have some ideas about this.

1 Like 1 · ·

Please provide the exact link from which you downloaded the APK.

0 Likes 0 · ·
jhauge avatar image
jhauge answered ·

New build looks to have been released. v2091

https://filessandbox.dev.clover.com/v2/apk/com.clover.engine-2091.apk
https://sandbox.dev.clover.com/developers/dev-apks

Just tested a fresh install.

Installed the new engine:
adb -s emulator-5554 install ./clover-apks/com.clover.engine-2091.apk

Installed the "old" app updater:
adb -s emulator-5554 install ./clover-apks/com.clover.appupdater-1160.apk

Verified web hook receives events.

Verified Register App and Order App display DEV and do not display STG.

Verified order placed through Register App fires web hook events and data displays in clover web portal.


Will continue to test and mark this issue resolved if no issues arise. Thank you for your hard work Clover Team !



1 comment 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.

Thanks for sharing.

0 Likes 0 · ·
Jeffrey Blattman avatar image
Jeffrey Blattman answered ·

Yes we messed something up. We'll get it fixed ASAP. You can probably revert to an older version in the mean time:

https://filessandbox.dev.clover.com/v2/apk/com.clover.engine-2077.apk

32 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.

Cool. Yeah, we found a couple workarounds using older versions. Thanks, looking forward to the next release.

0 Likes 0 · ·

Hi Jeff,

I am using your suggested apk file.

https://filessandbox.dev.clover.com/v2/apk/com.clover.engine-2077.apk

App Updater: com.clover.appupdater-1160.apk

I can login into sand box account using android emulator. But there is syncing problem. My new orders and its payments are not sync with main system. I can not see these orders and payments into website.





Can you please advise here like any problem with com.clover.engine-2077.apk ?

Thanks,

Hardik

0 Likes 0 · ·
jhauge avatar image jhauge hardik.adroja510 ·

We ran in to the same problem. Having the appupdater installed will upgrade you to the latest version 2087. Your data is being sent to their STG environment because of it. You have to install the older version of the engine again after uninstalling the new version. It's a pain. We found it easier download all the apks on their site, install the old engine, skip installing the appupdater, and install all the other apks. A quick web scrape script and shell install script works for us.

Best solution is a new engine build. Jeffery, any update on when that'll be released ?

1 Like 1 · ·

No, there's no update.

0 Likes 0 · ·

I tried the APK I linked and it worked fine. Note that use of app updater on emulators is deprecated. You should be using the install_apps.py script. See: https://docs.clover.com/clover-platform/docs/emulator-setup-on-android-studio-scripted-app-install#section-installing-required-clover-merchant-apps

Note that app updater can't automatically install apps on the emulator so there's no danger of the downgraded version of engine being upgraded.

0 Likes 0 · ·
Evgeny Valavin avatar image Evgeny Valavin Jeffrey Blattman ♦♦ ·

Hi! How do I run this script? I've been developing apps in Xamarin.Android for a long time, so I'm new to Android Studio. The guide is quite short to realize how to run it. Could you give me some more info please?

0 Likes 0 · ·

Do we need to use which version of apk ?

0 Likes 0 · ·

I linked and tested 2077. You can probably use something older as well. I just picked the last release before 2087.

0 Likes 0 · ·
hardik.adroja510 avatar image hardik.adroja510 Jeffrey Blattman ♦♦ ·

Hi Jeffrey,

Thank you for your advise. I am using below version.

Sandbox

  • App Updater: com.clover.appupdater-1160.apk
  • Clover: clover.comeengine-2077.apk

I can login with 2077.apk file into dev account but orders are not syncing into sandbox developer account.

Here I am attaching one screenshot so you will get an idea.

Here "User & accounts" screen login with sandbox developer account and it is right. Here displaying DEV.

Here "Register" screen. There is display like STG.

Can you please more advise like how can we set sync the orders and its payment for the sandbox developer account ?

0 Likes 0 · ·
1589889397906.png (129.9 KiB)
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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