mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 10:21:37 +08:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f59be2749e |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-update",
|
||||
"version": "10.11.1",
|
||||
"version": "10.11.2",
|
||||
"description": "react-native hot update",
|
||||
"main": "src/index",
|
||||
"scripts": {
|
||||
|
@@ -21,7 +21,7 @@ import {
|
||||
} from './core';
|
||||
import { CheckResult, ProgressData, PushyTestPayload } from './type';
|
||||
import { PushyContext } from './context';
|
||||
import { URLSearchParams } from 'react-native-url-polyfill';
|
||||
import { URL } from 'react-native-url-polyfill';
|
||||
|
||||
export const PushyProvider = ({
|
||||
client,
|
||||
@@ -307,7 +307,7 @@ export const PushyProvider = ({
|
||||
if (!url) {
|
||||
return;
|
||||
}
|
||||
const params = new URLSearchParams(url);
|
||||
const params = new URL(url).searchParams;
|
||||
const payload = {
|
||||
type: params.get('type'),
|
||||
data: params.get('data'),
|
||||
|
Reference in New Issue
Block a user