镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

RN 0.29.1 with rnpm android evaluating '_reactNativeCodePush2.default.sync' #432

Closed

Description

Hi!
thank you for your help,
the actual question in the title, and I can not run react native 0.29.1 on Android

undefined is not an object (evaluating '_reactNativeCodePush2.default.sync')
if i use
codePush.sync();

or
'undefined is not an object (evaluating '_reactNativeCodePush2.default.getCurrentPackage')'
if
codePush.getCurrentPackage()

Activity

  1. geof90 commented on Jul 16, 2016

    @geof90
    Contributor

    Alexander Korovkin (@greenteamer) Running rnpm link from the RNPM CLI will no longer work in 0.29 for android.

    RNPM has been merged into React Native CLI, so you can try running react-native link instead.

    If that doesn't work try instead performing the manual installation steps.

    Let me know if react-native link works for you, and I will update the docs.

  2. greenteamer commented on Jul 16, 2016

    @greenteamer
    Author

    Geoffrey Goh (@geof90) actualy react-native link does not work to

  3. geof90 commented on Jul 16, 2016

    @geof90
    Contributor

    Ah I see, the fix for react-native link will only go out in RN 0.29.2.

    For now, could you use the manual installation steps?

  4. greenteamer commented on Jul 17, 2016

    @greenteamer
    Author

    Geoffrey Goh (@geof90) yes, thank you, i don't use manual correctly in first time, but now everything allright!

  5. ps-swaroop commented on Aug 4, 2016

    @ps-swaroop

    Hi,

    I am still getting the same issue. Can someone please help?

    code-push version : 1.12.1-beta
    react-native version : 0.30.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions