1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-18 21:00:38 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2024-04-22 23:15:29 +08:00
parent 3e60cfd80f
commit ad9b0778ba
8 changed files with 8 additions and 5 deletions

3
src/index.native.ts Normal file
View 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
View File

@@ -0,0 +1,2 @@
import React from 'react';
export const PushyProvider = ({ children }) => <>{children}</>;

View File

@@ -12,7 +12,7 @@ import {
Platform,
Linking,
} from 'react-native';
import { Pushy } from './client';
import { Pushy } from './client.native';
import {
currentVersion,
isFirstTime,

View File

@@ -1,2 +0,0 @@
import { Fragment } from 'react';
export const PushyProvider = Fragment;