Giter Site home page Giter Site logo

Comments (5)

minhvn avatar minhvn commented on September 25, 2024 1

@NguyenKimHieu
Hiếu chạy được chưa? Minh dùng version mới nhất thấy vẫn thanh toán được.

from momo.vn.

minhvn avatar minhvn commented on September 25, 2024

When I debug app in android device OS 7.0 with project flutter version 1.17.1. Can you check this problem. Thank.

Can give me log when app crash?
Thank Hiếu.

from momo.vn.

NguyenKimHieu avatar NguyenKimHieu commented on September 25, 2024

Here
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1000, result=-1, data=Intent { (has extras) }} to activity {com.example.testmomo/com.example.testmomo.MainActivity}: java.lang.ClassCastException: byte[] cannot be cast to java.lang.String
E/AndroidRuntime( 8517): at android.app.ActivityThread.deliverResults(ActivityThread.java:4089)
E/AndroidRuntime( 8517): at android.app.ActivityThread.handleSendResult(ActivityThread.java:4132)
E/AndroidRuntime( 8517): at android.app.ActivityThread.-wrap20(ActivityThread.java)
E/AndroidRuntime( 8517): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1533)
E/AndroidRuntime( 8517): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 8517): at android.os.Looper.loop(Looper.java:154)
E/AndroidRuntime( 8517): at android.app.ActivityThread.main(ActivityThread.java:6119)
E/AndroidRuntime( 8517): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 8517): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
E/AndroidRuntime( 8517): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
E/AndroidRuntime( 8517): Caused by: java.lang.ClassCastException: byte[] cannot be cast to java.lang.String
E/AndroidRuntime( 8517): at com.minh.momo_vn.MomoVnPluginDelegate._handleResult(MomoVnPluginDelegate.kt:72)
E/AndroidRuntime( 8517): at com.minh.momo_vn.MomoVnPluginDelegate.onActivityResult(MomoVnPluginDelegate.kt:38)
E/AndroidRuntime( 8517): at io.flutter.embedding.engine.FlutterEnginePluginRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEnginePluginRegistry.java:691)
E/AndroidRuntime( 8517): at io.flutter.embedding.engine.FlutterEnginePluginRegistry.onActivityResult(FlutterEnginePluginRegistry.java:378)
E/AndroidRuntime( 8517): at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:597)
E/AndroidRuntime( 8517): at io.flutter.embedding.android.FlutterActivity.onActivityResult(FlutterActivity.java:582)
E/AndroidRuntime( 8517): at android.app.Activity.dispatchActivityResult(Activity.java:6932)
E/AndroidRuntime( 8517): at android.app.ActivityThread.deliverResults(ActivityThread.java:4085)
E/AndroidRuntime( 8517): ... 9 more

from momo.vn.

NguyenKimHieu avatar NguyenKimHieu commented on September 25, 2024

@minhvn Mình chạy được rồi. mình có sửa lại thành SDK_INT >= 26 thì chạy ổn rồi (debug trên app momo test) . Nhưng sau đó mình revert lại chạy trên bản momo live thì ok. Có vẻ vấn đề ở đây là app momo test response vs android OS 7.0 trở xuống. Dù sao thì app cũng đã chạy ổn rồi. Cảm ơn nhé. Close issue này giúp mình nhé.
image

from momo.vn.

minhvn avatar minhvn commented on September 25, 2024

@NguyenKimHieu Okay Hiếu, cảm ơn đã feedback :)

from momo.vn.

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.