Giter VIP home page Giter VIP logo

Comments (10)

hukid avatar hukid commented on July 28, 2024

@GuoXiaoyang thanks for reporting this issue! Do you mind to share the merchant Id and application id you used?

from react-native-square-reader-sdk.

GuoXiaoyang avatar GuoXiaoyang commented on July 28, 2024

I think this information is a bit sensitive. In fact, we've spoken to you and you've told me that upgrading to 1.5.3 is feasible.
But, the app still crashed after the upgrade.

You can use the demo I provided and fill in the test token and test app id in this file to reproduce it.

from react-native-square-reader-sdk.

vishwajitshep0815 avatar vishwajitshep0815 commented on July 28, 2024

Hey, I tried to replicate the issue from the sample app. The build is working fine. I tested it for debug mode on the simulator and a real device. Also, tested for a release signed apk on my device. It is working fine. I am attaching a video for it as well

XRecorder_11032022_000218.mp4

.

from react-native-square-reader-sdk.

GuoXiaoyang avatar GuoXiaoyang commented on July 28, 2024

Hi, really appreciated your trial. The crash could happen when I followed these steps:

  1. Uninstall the old app
  2. Install the apk with release mode
  3. After authorized, click the Reader Settings(Do not charge at this step)
  4. Give three permissions, then the app crashed and restarted

from react-native-square-reader-sdk.

hukid avatar hukid commented on July 28, 2024

@GuoXiaoyang thanks for sharing that step, we are able to repro it now. Do you see this only the first time you open a newly installed app? Curious if that's an error blocking customers from using the app or just an annoying issue the first time use the app.

from react-native-square-reader-sdk.

GuoXiaoyang avatar GuoXiaoyang commented on July 28, 2024

@hukid Mostly the problem only bothers users who use the app first time.
But a small number of users(especially with Android 7.0) reported that the problem persisted every time he tried to connect the reader.

from react-native-square-reader-sdk.

rjrjr avatar rjrjr commented on July 28, 2024

Do you always see this bit?

    android.os.DeadObjectException
        at android.os.BinderProxy.transactNative(Native Method)
        at android.os.BinderProxy.transact(BinderProxy.java:575)
        at android.view.IWindow$Stub$Proxy.windowFocusChanged(IWindow.java:829)
        at com.android.server.wm.WindowState.reportFocusChangedSerialized(WindowState.java:3800)
        at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:5438)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:237)
        at android.os.HandlerThread.run(HandlerThread.java:67)
        at com.android.server.ServiceThread.run(ServiceThread.java:44)

I'm wondering if Android is killing us off and the rest of the stack is death throes

from react-native-square-reader-sdk.

AngeloMateus avatar AngeloMateus commented on July 28, 2024

Hey guys is there any update on this? I'm seeing the exact same behaviour when displaying the settings page for the first time and the checkout is crashing altogether on Android 12 devices.

from react-native-square-reader-sdk.

CharmisG avatar CharmisG commented on July 28, 2024

Sorry for the delay @AngeloMateus
We need to give blutooth_connect permission for android 12 version
https://developer.android.com/guide/topics/connectivity/bluetooth/permissions

Will resolve this issue as soon as possible and update you.

from react-native-square-reader-sdk.

CharmisG avatar CharmisG commented on July 28, 2024

Sorry @AngeloMateus
Currently our plugin is not supported expo it's for React-native only but will try to sort it out this issue
Thank you !

from react-native-square-reader-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.