Skip to content
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

Feature Request - Support React Native #79

Closed
gaodeng opened this issue Nov 5, 2018 · 2 comments
Closed

Feature Request - Support React Native #79

gaodeng opened this issue Nov 5, 2018 · 2 comments

Comments

@gaodeng
Copy link
Contributor

gaodeng commented Nov 5, 2018

Remove browser's window global variable dependency, build a umd library.

@rbren
Copy link
Owner

rbren commented Nov 5, 2018

Happy to accept a PR to this effect!

Probably related to #53

@yamatsum
Copy link

yamatsum commented Feb 6, 2019

Thank you for the wonderful package!

It was available in RN in the way described in #53.
However, the following warning will be given.

I'm looking into it,
but I think that it is probably because a deprecated one is specified in
responseType of XMLHttpRequest in the file generated by webpack.
Please let me know if you know how to fix it.

[00:37:40] Warning: The provided value 'moz-chunked-arraybuffer' is not a valid 'responseType'.
- node_modules/fbjs/lib/warning.js:33:20 in printWarning
- node_modules/fbjs/lib/warning.js:57:25 in warning
- node_modules/react-native/Libraries/Network/XMLHttpRequest.js:189:8 in set
- node_modules/rss-parser/dist/rss-parser.min.js:7:56194 in n
- node_modules/rss-parser/dist/rss-parser.min.js:7:56681 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:7:56804 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:7:111092 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:7:115176 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:7:54922 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:7:55792 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:7:105499 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:7:105118 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:7:105072 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:1:452 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:461 in <unknown>
- node_modules/metro/src/lib/polyfills/require.js:292:12 in loadModuleImplementation
* App.tsx:5:0 in <unknown>
- node_modules/metro/src/lib/polyfills/require.js:292:12 in loadModuleImplementation
- node_modules/expo/AppEntry.js:2:0 in <unknown>
- node_modules/metro/src/lib/polyfills/require.js:292:12 in loadModuleImplementation
- node_modules/metro/src/lib/polyfills/require.js:179:45 in guardedLoadModule
* null:null in global code

[00:37:41] Warning: The provided value 'ms-stream' is not a valid 'responseType'.
- node_modules/fbjs/lib/warning.js:33:20 in printWarning
- node_modules/fbjs/lib/warning.js:57:25 in warning
- node_modules/react-native/Libraries/Network/XMLHttpRequest.js:189:8 in set
- node_modules/rss-parser/dist/rss-parser.min.js:7:56194 in n
- node_modules/rss-parser/dist/rss-parser.min.js:7:56629 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:7:56804 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:7:111092 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:7:115176 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:7:54922 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:7:55792 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:7:105499 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:7:105118 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:7:105072 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:105 in e
- node_modules/rss-parser/dist/rss-parser.min.js:1:452 in <unknown>
- node_modules/rss-parser/dist/rss-parser.min.js:1:461 in <unknown>
- node_modules/metro/src/lib/polyfills/require.js:292:12 in loadModuleImplementation
* App.tsx:5:0 in <unknown>
- node_modules/metro/src/lib/polyfills/require.js:292:12 in loadModuleImplementation
- node_modules/expo/AppEntry.js:2:0 in <unknown>
- node_modules/metro/src/lib/polyfills/require.js:292:12 in loadModuleImplementation
- node_modules/metro/src/lib/polyfills/require.js:179:45 in guardedLoadModule
* null:null in global code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants