react-native-contacts
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "React Native Contacts (android & ios)", | ||
@@ -10,0 +10,0 @@ "nativePackage": true, |
@@ -138,12 +138,22 @@ # React Native Contacts | ||
```java | ||
/** | ||
* A list of packages used by the app. If the app uses additional views | ||
* or modules besides the default ones, add more packages here. | ||
*/ | ||
@Override | ||
protected List<ReactPackage> getPackages() { | ||
return Arrays.<ReactPackage>asList( | ||
new MainReactPackage(), | ||
new ReactNativeContacts() // <------ add package | ||
); | ||
... | ||
import com.rt2zz.reactnativecontacts.ReactNativeContacts; // <--- import module! | ||
public class MainActivity extends ReactActivity { | ||
... | ||
/** | ||
* A list of packages used by the app. If the app uses additional views | ||
* or modules besides the default ones, add more packages here. | ||
*/ | ||
@Override | ||
protected List<ReactPackage> getPackages() { | ||
return Arrays.<ReactPackage>asList( | ||
new MainReactPackage(), | ||
new ReactNativeContacts() // <--- and add package | ||
); | ||
} | ||
... | ||
} | ||
@@ -150,0 +160,0 @@ ``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
200
40738
11