maxs15 / maxs15/react-native-spinkit

react-native link fails if no android project is setup

Open
#82 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
2.4k
Forks
307
PR merge metrics
No merged PRs in 30d

Description

We're building a react native app, but currently the only requirement is for an iOS app, therefore our project contains no `android` directory. However, running the `react-native link` command errors during the `rnpm-prelink` script since it cannot find `android/android.gradle`.

Shouldn't it just skip this step instead of error?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the rnpm-prelink step invoked by react-native link and its handling of the missing android/android.gradle path. Reproduce the command in an iOS-only React Native project, then verify that linking completes without an android directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.