Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Fix: iOS 13 and React Native 0.6.x #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

braandl
Copy link

@braandl braandl commented May 15, 2020

Updated the lib to the requirements of React Native 0.6.x and iOS 13.###

import {
DeviceEventEmitter,
NativeModules,
Platform,
} from 'react-native';

const nativeModule = NativeModules.RNProximity;
const { RNProximity } = NativeModules;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to also change the Android if to use RNProximity instead of nativeModule

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

Successfully merging this pull request may close these issues.

2 participants