Skip to content

Commit ee5f997

Browse files
bshackelfordflovilmart
authored andcommitted
Addresses filename change in react-native library (#440)
1 parent 05ba963 commit ee5f997

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,20 @@ For React Native applications, include `'parse/react-native'`:
3434
var Parse = require('parse/react-native');
3535
```
3636

37+
> As of `v1.9.3`, Parse-SDK-JS supports React Native 0.43+. Please use `v1.9.2` for previous versions of React Native.
38+
3739
## License
3840

3941
```
4042
Copyright (c) 2015-present, Parse, LLC.
4143
All rights reserved.
4244
4345
This source code is licensed under the BSD-style license found in the
44-
LICENSE file in the root directory of this source tree. An additional grant
46+
LICENSE file in the root directory of this source tree. An additional grant
4547
of patent rights can be found in the PATENTS file in the same directory.
4648
```
4749

48-
As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.
50+
As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.
4951

5052
[build-status-svg]: https://travis-ci.org/parse-community/Parse-SDK-JS.svg?branch=master
5153
[build-status-link]: https://travis-ci.org/parse-community/Parse-SDK-JS

src/StorageController.react-native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
import ParsePromise from './ParsePromise';
1313
// RN packager nonsense
14-
import { AsyncStorage } from 'react-native/Libraries/react-native/react-native.js';
14+
import { AsyncStorage } from 'react-native/Libraries/react-native/react-native-implementation';
1515

1616
var StorageController = {
1717
async: 1,

src/__tests__/Storage-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var mockRNStorageInterface = {
2929
},
3030
};
3131

32-
jest.mock('react-native/Libraries/react-native/react-native.js', () => {
32+
jest.mock('react-native/Libraries/react-native/react-native-implementation', () => {
3333
return {AsyncStorage: mockRNStorageInterface};
3434
}, {virtual: true});
3535

0 commit comments

Comments
 (0)