Commit c8bcb1ba authored by Donald Jackson's avatar Donald Jackson

Added deviceName to native module

parent e6407db3
...@@ -132,6 +132,7 @@ RCT_EXPORT_MODULE() ...@@ -132,6 +132,7 @@ RCT_EXPORT_MODULE()
@"systemVersion": currentDevice.systemVersion, @"systemVersion": currentDevice.systemVersion,
@"model": self.deviceName, @"model": self.deviceName,
@"deviceId": self.deviceId, @"deviceId": self.deviceId,
@"deviceName": currentDevice.name,
@"uniqueId": uniqueId, @"uniqueId": uniqueId,
@"bundleId": [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleIdentifier"], @"bundleId": [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleIdentifier"],
@"appVersion": [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"], @"appVersion": [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"],
......
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