Commit 1b1b19ed authored by Rebecca Hughes's avatar Rebecca Hughes

Bump to 0.9.2

parent 7f8ebc68
...@@ -82,6 +82,7 @@ public class MainActivity extends ReactActivity { ...@@ -82,6 +82,7 @@ public class MainActivity extends ReactActivity {
## Release Notes ## Release Notes
* 0.9.2 add iOS build version
* 0.9.1 adds support for the iPhone SE and new iPad Pro * 0.9.1 adds support for the iPhone SE and new iPad Pro
* 0.9.0 adds support for device country and changes the iOS device name to match Apple branding * 0.9.0 adds support for device country and changes the iOS device name to match Apple branding
* 0.8.4 don't use destructuring * 0.8.4 don't use destructuring
...@@ -114,7 +115,7 @@ console.log("Bundle Id", DeviceInfo.getBundleId()); // e.g. com.learnium.mobile ...@@ -114,7 +115,7 @@ console.log("Bundle Id", DeviceInfo.getBundleId()); // e.g. com.learnium.mobile
console.log("Build Number", DeviceInfo.getBuildNumber()); // e.g. 89 console.log("Build Number", DeviceInfo.getBuildNumber()); // e.g. 89
console.log("Build Version", DeviceInfo.getBuildVersion()); // on iOS, full build info, e.g. v0.5.9-51-g71ec8a0+ console.log("Build Version", DeviceInfo.getBuildVersion()); // (iOS only) full build info, e.g. v0.5.9-51-g71ec8a0+
console.log("App Version", DeviceInfo.getVersion()); // e.g. 1.1.0 console.log("App Version", DeviceInfo.getVersion()); // e.g. 1.1.0
......
...@@ -57,6 +57,7 @@ public class RNDeviceModule extends ReactContextBaseJavaModule { ...@@ -57,6 +57,7 @@ public class RNDeviceModule extends ReactContextBaseJavaModule {
String packageName = this.reactContext.getPackageName(); String packageName = this.reactContext.getPackageName();
constants.put("appVersion", "not available"); constants.put("appVersion", "not available");
constants.put("buildVersion", "not available");
constants.put("buildNumber", 0); constants.put("buildNumber", 0);
try { try {
......
{ {
"name": "react-native-device-info", "name": "react-native-device-info",
"version": "0.9.1", "version": "0.9.2",
"description": "Get device information using react-native", "description": "Get device information using react-native",
"main": "deviceinfo.js", "main": "deviceinfo.js",
"repository": { "repository": {
......
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