Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70445

IONIC 4 how to use react native plugin in ionic native

$
0
0

@SanduCuragau wrote:


this plugin does exactly what I need in the simplest way, I know react can now somehow work in ionic 4, I’m just not sure if react native plugins can work in ionic native, but I really need this or a similar plugin/fix for ionic

I installed it: npm install react-native-appstore-version-checker --save

I imported and injected in app.module.ts
import { getAppstoreAppVersion } from “react-native-appstore-version-checker”;
and in providers I added getAppstoreAppVersion

I imported it into app.component.ts and injected it into the construtor
and I am using it in a method

everything seems like it could really work, but when build gets to 95% it catches
image

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>