Skip to content

Addresses filename change in react-native library #440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,20 @@ For React Native applications, include `'parse/react-native'`:
var Parse = require('parse/react-native');
```

> As of `v1.9.3`, Parse-SDK-JS supports React Native 0.43+. Please use `v1.9.2` for previous versions of React Native.

## License

```
Copyright (c) 2015-present, Parse, LLC.
All rights reserved.

This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
```

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.
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.

[build-status-svg]: https://travis-ci.org/parse-community/Parse-SDK-JS.svg?branch=master
[build-status-link]: https://travis-ci.org/parse-community/Parse-SDK-JS
Expand Down
2 changes: 1 addition & 1 deletion src/StorageController.react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import ParsePromise from './ParsePromise';
// RN packager nonsense
import { AsyncStorage } from 'react-native/Libraries/react-native/react-native.js';
import { AsyncStorage } from 'react-native/Libraries/react-native/react-native-implementation';

var StorageController = {
async: 1,
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/Storage-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var mockRNStorageInterface = {
},
};

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

Expand Down