react-native-ibb-mobile-services
v2.0.1
Published
IBB Serivsleri ve uygulama versiyon güncellemeleri için gerekli demo paket
Downloads
5
Readme
react-native-ibb-mobile-services
!!!Uygulamaların IBB Firebase içinde IBB Store Demo Projesinde Kayıtlı uygulama olması gereklidir.
Getting started
$ npm install react-native-ibb-mobile-services --save
Mostly automatic installation
$ react-native link react-native-ibb-mobile-services
Usage
import IbbMobileServices from 'react-native-ibb-mobile-services';
// TODO: What to do with the module?
IbbMobileServices;
function Component için Class Component için ise componentDidMount() içinde çağrılması gerekmektedir.
Configure
useEffect(() => {
const package_name = 'com.grnt.ibbstoredemo';
IbbMobileServices.configure(package_name);
}, []);
Başlangıç için App.js veya ilk çağrılan dosyanın içinde ilk eylem olarak IbbMobileServices.configure() methodunu çağırarak başlayın. !!!Önemli @package_name@ değeri değişecektir.
Android içinde AndroidManifest.xml içinde gerekli izinler için
Eklemeler
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
eklemeleri yapmayı unutmayın!!!