Unverified Commit f6f8783f authored by Patrick Balestra's avatar Patrick Balestra Committed by GitHub
Browse files

Fix typo in README

parent 14f52f73
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -194,7 +194,7 @@ var DeviceInfo = require('react-native-device-info');
| IP Address                 | `getIPAddress()`                   | `Promise<string>`                                                                             | Only supported in Android                                                                                           |
| IP Address                 | `getIPAddress()`                   | `Promise<string>`                                                                             | Only supported in Android                                                                                           |
| MAC Address                | `getMACAddress()`                  | `Promise<string>`                                                                             | Only supported in Android                                                                                           |
| MAC Address                | `getMACAddress()`                  | `Promise<string>`                                                                             | Only supported in Android                                                                                           |
| Carrier                    | `getCarrier()`                     | `string` e.g. "SOFTBANK"                                                                      |                                                                                                                     |
| Carrier                    | `getCarrier()`                     | `string` e.g. "SOFTBANK"                                                                      |                                                                                                                     |
| Total Memory               | `getTotalMemory()`                 | `number` e.g. 1995018240                                                                      | Total ammount of memory on the device                                                                               |
| Total Memory               | `getTotalMemory()`                 | `number` e.g. 1995018240                                                                      | Total amount of memory on the device                                                                               |
| Max Memory                 | `getMaxMemory()`                   | `number` e.g. 268435456                                                                       | ANDROID ONLY - see https://developer.android.com/reference/java/lang/Runtime.html#maxMemory()                       |
| Max Memory                 | `getMaxMemory()`                   | `number` e.g. 268435456                                                                       | ANDROID ONLY - see https://developer.android.com/reference/java/lang/Runtime.html#maxMemory()                       |


Since the device setting for PIN/Fingerprint can be modified while the app is still open, this is available via callback instead of as a constant.  To use, pass a callback function to the returned bridge function in your javascript:
Since the device setting for PIN/Fingerprint can be modified while the app is still open, this is available via callback instead of as a constant.  To use, pass a callback function to the returned bridge function in your javascript: