Commit 6c5da0a5 authored by Rebecca Hughes's avatar Rebecca Hughes

Revert

parent 59175df8
......@@ -82,7 +82,6 @@ public class MainActivity extends ReactActivity {
## Release Notes
* 0.9.2 add iOS build version
* 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.8.4 don't use destructuring
......@@ -115,8 +114,6 @@ console.log("Bundle Id", DeviceInfo.getBundleId()); // e.g. com.learnium.mobile
console.log("Build Number", DeviceInfo.getBuildNumber()); // e.g. 89
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 (Readable)", DeviceInfo.getReadableVersion()); // e.g. 1.1.0.89
......
......@@ -160,7 +160,6 @@ RCT_EXPORT_MODULE()
@"bundleId": [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleIdentifier"],
@"appVersion": [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"],
@"buildNumber": [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"],
@"buildVersion": [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleBuildVersion"],
@"systemManufacturer": @"Apple",
@"userAgent": self.userAgent,
};
......
......@@ -29,9 +29,6 @@ module.exports = {
getBuildNumber: function() {
return RNDeviceInfo.buildNumber;
},
getBuildVersion: function() {
return RNDeviceInfo.buildVersion;
},
getVersion: function() {
return RNDeviceInfo.appVersion;
},
......
{
"name": "react-native-device-info",
"version": "0.9.2",
"version": "0.9.3",
"description": "Get device information using react-native",
"main": "deviceinfo.js",
"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