Aptoide / bds-unity-plugin

Catappult Unity Plugin
https://catappult.io
4 stars 2 forks source link

CC required although there are enough APPC and ETH available for the transaction #4

Closed nenovmy closed 5 years ago

nenovmy commented 5 years ago

In my game Follow the Line 2D Deluxe some prices in the store are shown in APPC and EUR (when you click on the item to buy it). When I try to buy this item a CC input dialog is opened although there are enough APPC and ETH in my wallet! Other Items have prices only in APPC and can be purchases without problem.

I thin the first items are items that I tried to purchase long ago when I didn't have enough ETH and now for some reason the plugin still wants a CC.

nunomonteiro commented 5 years ago

Hi nenovmy,

Sorry for the inconvenience. Do you have the latest version of the wallet installed? We're analysing the issue internally and will get back to you ASAP.

Cheers, Nuno

nenovmy commented 5 years ago

Sorry for the missing information! Here is everything:

Unity version: 2018.2.13f1 BDS unity plugin: 0.3 Wallet version: 1.1.1.4

Testing on Samsung galaxy s7 edge with Android 8.0.0

nenovmy commented 5 years ago

I upgraded to the latest BDS plugin 1.0.1. I created a new item and was able to make a purchase, but after the success the app crashed and now crashes on every start like the issue #5:

10-23 15:29:05.816: E/ViewRootImpl(32086): sendUserActionEvent() returned. 10-23 15:29:05.817: E/ActivityThread(32086): Activity com.test.notifdetect.OverriddenUpa has leaked ServiceConnection null that was originally bound here 10-23 15:29:05.817: E/ActivityThread(32086): android.app.ServiceConnectionLeaked: Activity com.test.notifdetect.OverriddenUpa has leaked ServiceConnection null that was originally bound here 10-23 15:29:05.817: E/ActivityThread(32086): at android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:1538) 10-23 15:29:05.817: E/ActivityThread(32086): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1430) 10-23 15:29:05.817: E/ActivityThread(32086): at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1622) 10-23 15:29:05.817: E/ActivityThread(32086): at android.app.ContextImpl.bindService(ContextImpl.java:1574) 10-23 15:29:05.817: E/ActivityThread(32086): at android.content.ContextWrapper.bindService(ContextWrapper.java:697) 10-23 15:29:05.817: E/ActivityThread(32086): at com.unity3d.player.UnityPlayer.nativeRender(Native Method) 10-23 15:29:05.817: E/ActivityThread(32086): at com.unity3d.player.UnityPlayer.c(Unknown Source:0) 10-23 15:29:05.817: E/ActivityThread(32086): at com.unity3d.player.UnityPlayer$e$2.queueIdle(Unknown Source:72) 10-23 15:29:05.817: E/ActivityThread(32086): at android.os.MessageQueue.next(MessageQueue.java:394) 10-23 15:29:05.817: E/ActivityThread(32086): at android.os.Looper.loop(Looper.java:142) 10-23 15:29:05.817: E/ActivityThread(32086): at com.unity3d.player.UnityPlayer$e.run(Unknown Source:32)

nunomonteiro commented 5 years ago

Hello, Sorry for the late reply. After internal talks with the team, I figured this issue is related to the wallet and not the plugin by itself. Could you please post it here: https://github.com/Aptoide/appcoins-wallet-android/issues/ Thanks!

nenovmy commented 5 years ago

Done!

On 6. Nov 2018, at 18:40, nunomonteiro notifications@github.com wrote:

Closed #4 https://github.com/Aptoide/bds-unity-plugin/issues/4.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Aptoide/bds-unity-plugin/issues/4#event-1949633961, or mute the thread https://github.com/notifications/unsubscribe-auth/ApAW3FQQyOE-dmyZ1ComZasROVH_u6Tuks5uscmWgaJpZM4X1V9f.

nenovmy commented 5 years ago

Hi Nuno,

how are you? I just saw that there is an issue with the price calculation in the BDS store.

What I did:

Expected: All prices are shown in APPC calculated from the USD value and current APPC price

Actual:

Thanks, Matey

On 6. Nov 2018, at 18:40, nunomonteiro notifications@github.com wrote:

Closed #4 https://github.com/Aptoide/bds-unity-plugin/issues/4.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Aptoide/bds-unity-plugin/issues/4#event-1949633961, or mute the thread https://github.com/notifications/unsubscribe-auth/ApAW3FQQyOE-dmyZ1ComZasROVH_u6Tuks5uscmWgaJpZM4X1V9f.

nunomonteiro commented 5 years ago

Hi Matey,

This is an issue for the BDS team to whom I forwarded your concerns. Thank you very much for bringing this up!

Will let you know of any developments.

Cheers, Nuno

On Tue, 20 Nov 2018 05:44:39 -0800, nenovmy notifications@github.com wrote:

Hi Nuno,

how are you? I just saw that there is an issue with the price calculation in the BDS store.

What I did:

  • First I set all the prices in APPC (before there was an option to retrieve the price in the API)
  • Later I created a new Item and set the price in USD, I also switched all other prices to USD, so the APPC price is calculated automatically based on the current APPC value

Expected: All prices are shown in APPC calculated from the USD value and current APPC price

Actual:

  • The price for the new item I created in USD is calculated as expected
  • The prices for the old items I switched from APPC to USD are not calculate at all, but instead the USD price is taken without conversion as price in APPC (e.g. $4.55 is shown as 4.55 APPC)

Thanks, Matey

On 6. Nov 2018, at 18:40, nunomonteiro notifications@github.com wrote:

Closed #4 https://github.com/Aptoide/bds-unity-plugin/issues/4.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Aptoide/bds-unity-plugin/issues/4#event-1949633961, or mute the thread https://github.com/notifications/unsubscribe-auth/ApAW3FQQyOE-dmyZ1ComZasROVH_u6Tuks5uscmWgaJpZM4X1V9f.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/Aptoide/bds-unity-plugin/issues/4#issuecomment-440278071

nenovmy commented 5 years ago

Hi Nuno,

a short question about PoA and ads. What happens when PoA reward is calculated and an interstitial ads is shown (the game activity loses focus and is paused)?

Thanks, Matey

On 21. Nov 2018, at 12:14, nunomonteiro notifications@github.com wrote:

Hi Matey,

This is an issue for the BDS team to whom I forwarded your concerns. Thank you very much for bringing this up!

Will let you know of any developments.

Cheers, Nuno

On Tue, 20 Nov 2018 05:44:39 -0800, nenovmy notifications@github.com wrote:

Hi Nuno,

how are you? I just saw that there is an issue with the price calculation in the BDS store.

What I did:

  • First I set all the prices in APPC (before there was an option to retrieve the price in the API)
  • Later I created a new Item and set the price in USD, I also switched all other prices to USD, so the APPC price is calculated automatically based on the current APPC value

Expected: All prices are shown in APPC calculated from the USD value and current APPC price

Actual:

  • The price for the new item I created in USD is calculated as expected
  • The prices for the old items I switched from APPC to USD are not calculate at all, but instead the USD price is taken without conversion as price in APPC (e.g. $4.55 is shown as 4.55 APPC)

Thanks, Matey

On 6. Nov 2018, at 18:40, nunomonteiro notifications@github.com wrote:

Closed #4 https://github.com/Aptoide/bds-unity-plugin/issues/4.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Aptoide/bds-unity-plugin/issues/4#event-1949633961, or mute the thread https://github.com/notifications/unsubscribe-auth/ApAW3FQQyOE-dmyZ1ComZasROVH_u6Tuks5uscmWgaJpZM4X1V9f.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/Aptoide/bds-unity-plugin/issues/4#issuecomment-440278071

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Aptoide/bds-unity-plugin/issues/4#issuecomment-440627439, or mute the thread https://github.com/notifications/unsubscribe-auth/ApAW3OihQsDzvtBagajKWLu_IYsOalddks5uxTWbgaJpZM4X1V9f.