Commit 30c1e432 authored by Ambroos Vaes's avatar Ambroos Vaes

More specific Android import

Users shouldn't use wildcard imports as they simply import too much. In this case it's much safer to just use a single import since that's all we need.
parent 42f82748
......@@ -40,7 +40,7 @@ Run `react-native link react-native-device-info` in your project root.
On React Native 0.18+:
```java
import com.learnium.RNDeviceInfo.*; // <--- import
import com.learnium.RNDeviceInfo.RNDeviceInfo; // <--- import
public class MainActivity extends ReactActivity {
......
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment