mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-18 21:00:38 +08:00
v10.5.1
This commit is contained in:
3
src/index.native.ts
Normal file
3
src/index.native.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export { Pushy } from './client.native';
|
||||
export { PushyContext, usePushy } from './context';
|
||||
export { PushyProvider } from './provider.native';
|
2
src/provider.jsx
Normal file
2
src/provider.jsx
Normal file
@@ -0,0 +1,2 @@
|
||||
import React from 'react';
|
||||
export const PushyProvider = ({ children }) => <>{children}</>;
|
@@ -12,7 +12,7 @@ import {
|
||||
Platform,
|
||||
Linking,
|
||||
} from 'react-native';
|
||||
import { Pushy } from './client';
|
||||
import { Pushy } from './client.native';
|
||||
import {
|
||||
currentVersion,
|
||||
isFirstTime,
|
@@ -1,2 +0,0 @@
|
||||
import { Fragment } from 'react';
|
||||
export const PushyProvider = Fragment;
|
Reference in New Issue
Block a user