Skip to content

Commit f5ee2fb

Browse files
authored
Fix warnings (#27)
1 parent a047c90 commit f5ee2fb

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
|---|---|
77
| [![Build Status](https://dev.azure.com/petter0012/react-native-android-activity/_apis/build/status/petterh.react-native-android-activity?branchName=master)](https://dev.azure.com/petter0012/react-native-android-activity/_build/latest?definitionId=1&branchName=master) | [[![Build Status](https://dev.azure.com/petter0012/react-native-android-activity/_apis/build/status/petterh.react-native-android-activity%20(1)?branchName=master)](https://dev.azure.com/petter0012/react-native-android-activity/_build/latest?definitionId=2&branchName=master) |
88

9-
This sample, which grew out of a [question on Stack Overflow](https://stackoverflow.com/questions/42253397/call-android-activity-from-react-native-code/43675819), demonstrates the interface between React Native JavaScript and Java code in host applications.
9+
This sample, which grew out of a [question on Stack Overflow](https://stackoverflow.com/questions/42253397/call-android-activity-from-react-native-code/43675819), demonstrates the interface between React Native JavaScript and Java code in Android host applications/Objective-C in iOS applications.
1010

1111
The original version was Android-only; support for iOS was added March 28 2019.
1212

android/app/src/main/java/com/demo/activity/MainApplication.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
import java.util.Arrays;
1515
import java.util.List;
1616

17-
import javax.annotation.Nullable;
18-
1917
/**
2018
* Base class for maintaining global application state -- in this case, the {@link ReactNativeHost}.
2119
*/

android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
rootProject.name = 'ReactNativeActivityDemo'
22

33
// https://react-native-community.github.io/upgrade-helper/?from=0.59.10&to=0.60.0
4-
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle");
4+
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle")
55
applyNativeModulesSettingsGradle(settings)
66

77
include ':app'

0 commit comments

Comments
 (0)