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

Warning: DatePickerAndroid has been merged with DatePickerIOS and will be removed in a future release. #239

Closed
maxencedouet opened this issue Mar 12, 2020 · 6 comments · Fixed by #249

Comments

@maxencedouet
Copy link

maxencedouet commented Mar 12, 2020

Description of the bug
Warning about deprecated react native component using is printed on console when launching new repo following the installation tutorial. It is very annoying as it is on the same pipe than real errors.

To Reproduce
Steps to reproduce the behavior:

  1. vue-native init my_project
  2. npm install
  3. npm run ios

What I expected
These warning should be fixed. Should we update the metro config or directly the vue-native-core module ?

Screenshots
image

Did I use vue-native-cli to create the project?
Yes

Am I using Expo?
Yes

Development platform (please complete the following information):

  • OS: MAC
  • Shell/terminal: ZSH
  • Expo-cli: 3.13.6

The device on which I run my Vue Native app

  • Device: iPhone8
  • OS: last
@RishabhKarnad
Copy link
Contributor

@maxencedouet we'll prevent these deprecated modules from being automatically imported in the next release

@maxencedouet
Copy link
Author

maxencedouet commented Mar 12, 2020

thk you very much for you reactivity !
Do you know if we can subscribe to a newsletter to be informed about the release ?
When do you plan it ?

@RishabhKarnad RishabhKarnad mentioned this issue Apr 18, 2020
@mjbriggs
Copy link

@RishabhKarnad I am planning on resolving issue #219 I would like to clarify that this pr is only responsible for removing deprecated dependencies and does not resolve the linked issue. Based on a quick perusal of the pr that seems to be the case, but I wanted to double check.

@RishabhKarnad
Copy link
Contributor

RishabhKarnad commented Apr 26, 2020

@mjbriggs if you are referring to #249, it only removes the deprecated components to resolve this issue, but does not try to solve #219

Your PR would be most welcome

@knot22
Copy link

knot22 commented Oct 26, 2020

Three warnings were appearing in my Vue Native project in the Dev environment. To suppress these the following code was added in the app.vue file:

import { LogBox } from "react-native";

created() {
    LogBox.ignoreLogs([
      'DatePickerIOS has been merged with DatePickerAndroid and will be removed in a future release.',
      'StatusBarIOS has been merged with StatusBar and will be removed in a future release.',
      'DatePickerAndroid has been merged with DatePickerIOS and will be removed in a future release.'
    ]);
  }

@RishabhKarnad
Copy link
Contributor

RishabhKarnad commented Feb 21, 2021

Should be resolved by #288 in v0.2.0. Closing this issue.

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

Successfully merging a pull request may close this issue.

4 participants