chro0611 / react-native-unity-ads

MIT License
2 stars 7 forks source link

Could not invoke UnityAds.loadAd #3

Open raghunathmestry opened 3 years ago

raghunathmestry commented 3 years ago

Screenshot (Feb 25, 2021 2_42_35 AM)

below is my code

import * as React from 'react'; import { StyleSheet, View, Text, Button } from 'react-native'; import UnityAds from 'react-native-unity-ads-moon';

export default function UnityAdd() {

React.useEffect(() => { UnityAds.loadAd('4058639', 'video', DEV) }, []);

const showAd = async () => { UnityAds.isLoad().then(isLoad=>{ if(isLoad){ UnityAds.showAd().then((result)=>{ console.log(result); }).catch(error=>{ console.log(error); }); } }) }

return (

raghunathmestry commented 3 years ago

please help me as soon as possible, their is no any alternate of react native unity advertisement. I am trying very hard.

johnson-india commented 3 years ago

found any solution?

choseonghwan91 commented 1 year ago

android/unity-ads 에 있는 "unity-ads.arr" 파일 버전을 3.7.5 버전으로 다운로드 받아서 사용해보세요