Skip to content

Commit fbf6e13

Browse files
authored
Merge pull request #285 from proyecto26/develop
Release 3.6.3
2 parents ac8b4a2 + 997de9f commit fbf6e13

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ in case of vulnerabilities.
2222

2323
## [Unreleased]
2424

25+
## [3.6.3] - 2021-07-05
26+
27+
### Fixed
28+
- fix(android): Fix error com.facebook.react.bridge.NoSuchKeyException by [@thuongtv-vn](https://github.com/thuongtv-vn) ([#283](https://github.com/proyecto26/react-native-inappbrowser/pull/283)).
29+
2530
## [3.6.2] - 2021-07-03
2631

2732
### Fixed
@@ -197,7 +202,8 @@ Missing tags for previous versions 🤷‍♂
197202
- Fix `EventBusException` on **Android** by [@Almouro](https://github.com/Almouro) ([9cf4cbb](https://github.com/proyecto26/react-native-inappbrowser/commit/9cf4cbb58d55c8b534dabac6791e6a2a5428253f)).
198203

199204

200-
[Unreleased]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.6.2...HEAD
205+
[Unreleased]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.6.3...HEAD
206+
[3.6.3]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.6.2...v3.6.3
201207
[3.6.2]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.6.1...v3.6.2
202208
[3.6.1]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.6.0...v3.6.1
203209
[3.6.0]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.5.1...v3.6.0

android/src/main/java/com/proyecto26/inappbrowser/RNInAppBrowser.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,11 @@ public class RNInAppBrowser {
6464
private static final Pattern animationIdentifierPattern = Pattern.compile("^.+:.+/");
6565

6666
public Integer setColor(CustomTabsIntent.Builder builder, final ReadableMap options, String key, String method, String colorName) {
67-
String colorString = options.getString(key);
67+
String colorString = null;
6868
Integer color = null;
6969
try {
70-
if (colorString != null) {
70+
if (options.hasKey(key)) {
71+
colorString = options.getString(key);
7172
color = Color.parseColor(colorString);
7273
Method findMethod = builder.getClass().getDeclaredMethod(method, int.class);
7374
findMethod.invoke(builder, color);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-inappbrowser-reborn",
3-
"version": "3.6.2",
3+
"version": "3.6.3",
44
"description": "InAppBrowser for React Native",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)