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] Escape Android autolinking script for windows #13494

Conversation

byCedric
Copy link
Member

@byCedric byCedric commented Jul 5, 2021

Why

This fixes #13475

How

It looks like the Gradle script removes the unescaped " symbol when executing the command on Windows. On MacOS, " and this fix works as expected.

Test Plan

  • On Windows
  • Create a new bare project for SDK 42
  • Run yarn android
  • At the later stages, it should crash with the error described in [Expo 42] Bare app build failing #13475
  • After the fix, it should pass that stage without issues.

Checklist

  • Documentation is up to date to reflect these changes (eg: https://docs.expo.io and README.md).
  • This diff will work correctly for expo build (eg: updated @expo/xdl).
  • This diff will work correctly for expo prebuild & EAS Build (eg: updated a module plugin).

@byCedric byCedric requested a review from tsapeta July 5, 2021 14:05
@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Jul 5, 2021
Copy link
Collaborator

@expo-bot expo-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review previously left here is no longer valid, jump to the latest one 👉 #13494 (review)

@byCedric byCedric force-pushed the @bycedric/react-native-adapter/fix-android-autolinking-windows branch from 5a667df to e88314e Compare July 5, 2021 14:20
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Jul 5, 2021
Copy link
Collaborator

@expo-bot expo-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there! 👋 I'm a bot whose goal is to ensure your contributions meet our guidelines.

Looks like I have nothing to complain about 👏 Keep up the good work! 💪

Generated by ExpoBot 🤖 against e88314e

@byCedric byCedric merged commit 89cd258 into master Jul 5, 2021
@byCedric byCedric deleted the @bycedric/react-native-adapter/fix-android-autolinking-windows branch July 5, 2021 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Expo 42] Bare app build failing
3 participants