Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] not working with react-native 0.62.0 #62

Open
cuongnm2301 opened this issue Apr 1, 2020 · 17 comments
Open

[Android] not working with react-native 0.62.0 #62

cuongnm2301 opened this issue Apr 1, 2020 · 17 comments

Comments

@cuongnm2301
Copy link

cuongnm2301 commented Apr 1, 2020

It work normally in 0.61.5, but when I update to 0.62.0.
It work in ios only. pls check.
Many thanks

@crystalxmumu
Copy link

yes, the wrong is : Animated: 'useNativeDriver' was not specified. This is required option adn must be explicitly set to 'true' or 'false'

@charway
Copy link

charway commented Apr 3, 2020

have the same problem, hope to solve it ASAP.

@cuongnm2301
Copy link
Author

yes, the wrong is : Animated: 'useNativeDriver' was not specified. This is required option adn must be explicitly set to 'true' or 'false'

How can I fix this

@sunnylqm
Copy link
Collaborator

sunnylqm commented Apr 6, 2020

This library has nothing to do with Animated. So you may be using some other libraries that depend on this one. Check that first.

@cuongnm2301
Copy link
Author

This library has nothing to do with Animated. So you may be using some other libraries that depend on this one. Check that first.

I use only this one, try to run example but still not working on android

@tharyckgusmao
Copy link

Yes, this library does not use animation, but it does not work on android, IOS working.

@sunnylqm
Copy link
Collaborator

sunnylqm commented Apr 6, 2020

I can reproduce this issue and is looking into it

@sunnylqm
Copy link
Collaborator

sunnylqm commented Apr 6, 2020

A workaround is to inject a <RootSiblingParent> in your app root node like this #52 (comment)
But destroy() still not work.
Related to https://github.com/facebook/react-native/blob/0b9ea60b4fee8cacc36e7160e31b91fc114dbc0d/Libraries/ReactNative/AppRegistry.js#L298-L309 @magicismight

@Foveluy
Copy link

Foveluy commented Apr 8, 2020

very funny is that wrapping a <RootSiblingParent/> to the very root of my app, this lib is working again in RN-0.6.2-Android.

so the code looks like:

export default () => {
  // fixer https://github.com/magicismight/react-native-root-siblings/issues/62
  const Wrapper = Platform.OS === 'ios' ? React.Fragment : RootSiblingParent;
  return (
    <Wrapper>
      <App />
    </Wrapper>
  );
};

@Almouro @pyros2097 @sunnylqm @danielgindi @jigfox

updated:

this method could fix it indeed, but not 100%, sometimes the page is still not show at all

@cuongnm2301
Copy link
Author

tks @Foveluy it work for me too

@wslbxx123
Copy link

wslbxx123 commented May 8, 2020

I still cannot use destroy function when wrapping a <RootSiblingParent/>

@cybercoder
Copy link

Still not works when call Toast.show

@wuxiii

This comment has been minimized.

@lybrooks

This comment has been minimized.

@sunnylqm
Copy link
Collaborator

There is a workaround above. Please read it before you post "+1"/"same", which is meaningless.

@StagasaurusRex
Copy link

StagasaurusRex commented Jul 14, 2020

With the workaround destroy() does not work, correct? Is there a plan to update this library to support 0.62 & 0.63 without the workaround? Or at least a way for destroy() to work?

@keepzouba
Copy link

Use version 3.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests