Giter VIP home page Giter VIP logo

[2787,"RCTView",1,{"renderToHardwareTextureAndroid":true,"left":"<<NaN>>","top":"<<NaN>>","width":"<<NaN>>","height":"<<NaN>>","transform":[{"scale":1},{"translateX":0},{"translateY":0}]}] is not usable as a native method argument about react-native-image-modal HOT 5 CLOSED

zlep avatar zlep commented on August 24, 2024
[2787,"RCTView",1,{"renderToHardwareTextureAndroid":true,"left":"<>","top":"<>","width":"<>","height":"<>","transform":[{"scale":1},{"translateX":0},{"translateY":0}]}] is not usable as a native method argument

from react-native-image-modal.

Comments (5)

dev-yakuza avatar dev-yakuza commented on August 24, 2024

@zlep

can you explain your situation more?

  1. only crashed on an Android device? the emulator is OK?
  2. could you test with Example project in this repository?
  3. can you share your source code?

thanks.

from react-native-image-modal.

zlep avatar zlep commented on August 24, 2024

1.) It crashes on Android simulator. Unfortunately I don't have a real Android device to test.
iOS is working, both, simulator and real device.

2.) same behaviour

3.) I removed it for now, sorry, but it was nothing special, just like this:

<View style={MainStyles.productImageContainer}> <View style={{ backgroundColor: Colors.grey_1, width: 150, height: 150 }} > <ImageModal resizeMode="contain" style={{ width: 150, height: 150 }} source={{ uri: URL/${image} }} /> </View> </View>

from react-native-image-modal.

dev-yakuza avatar dev-yakuza commented on August 24, 2024

@zlep

thanks for replying.

I also tested on Android emulator and device after your report.
however, I didn't find any problem.

my version info is like below.

node: v13.8.0

android device: 5.1.1
android emulator: 10

react: 16.9.0,
react-native: 0.61.5,
react-native-image-modal: 1.0.1

can you share your version info?

thanks!

from react-native-image-modal.

zlep avatar zlep commented on August 24, 2024

Thanks. I reinstalled the package and wiped the data of the android simulator. It seems to be working now. Strange.

Edit: The only thing I notice is a little laggy closing animation on android. iOS is smooth.

from react-native-image-modal.

dev-yakuza avatar dev-yakuza commented on August 24, 2024

@zlep it's great news!

sorry, I am not helpful...but you solve it! great!

a little laggy closing animation on android because of the emulator, I think.
If you test it on Android device, you can see smooth animation like iOS.
I close this issue. If you have still laggy animation on Android device, please make another issue.

thanks!

from react-native-image-modal.

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.