react-native/ReactAndroid
Linus Unnebäck e6b305b722 Properly escape JavaScript code on Android (#20366)
Summary:
These changes will fix executing javascript with any special characters, by making use of the `evaluateJavascript` function on Android 4.4+, and by properly escaping the URI on Android <4.4.

Fixes #19611Fixes #20365Fixes #9749Closes #19655Closes #12321

This PR supersedes #19655 by patching the same problem in all the places, and fixing it for Android <4.4 as well.
Pull Request resolved: https://github.com/facebook/react-native/pull/20366

Differential Revision: D9242968

Pulled By: hramos

fbshipit-source-id: f2e1abc786ba333dbd8aaa8922e716fd99ec26e0
2018-08-09 11:16:59 -07:00
..
libs use android build-tools 26.0.2 and set compileSdk to 26 (#19662) 2018-06-13 10:39:55 -07:00
src Properly escape JavaScript code on Android (#20366) 2018-08-09 11:16:59 -07:00
.npmignore
DevExperience.md
README.md Fixing link to Android build guide. 2018-05-27 15:17:55 -07:00
build.gradle Bump imagepipeline-okhttp3 to 1.10.0 (#20580) 2018-08-08 14:02:26 -07:00
gradle.properties Bump imagepipeline-okhttp3 to 1.10.0 (#20580) 2018-08-08 14:02:26 -07:00
proguard-rules.pro remove fresco proguard rules 2018-05-14 11:18:05 -07:00
release.gradle Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00

README.md

Building React Native for Android

See the docs on the website.

Running tests

When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.