Suljettu

React Native ( Android ) fix call-back after complete and pay subscribe. 'react-native-billing'

Hello!

I have card in app with Subscribe ( Trial ) [login to view URL]

Purchases and logic are working. Its fine.

But i have mistake with 'iap-receipt-validator';

[login to view URL]

I need disable show card Subscribe after user activate trial or subscribe

Not working validate, but i have a logic

validateSubscribe = async (userData) => {

if ([login to view URL] === 'ios') {

const validateReceipt = iapReceiptValidator([login to view URL], !__DEV__);

try {

const validationData = await validateReceipt([login to view URL]);

[login to view URL]({validationData});

if (

validationData &&

validationData.latest_receipt_info &&

validationData.latest_receipt_info.expires_date &&

validationData.latest_receipt_info.is_trial_period

) {

const expires_date = new Date(parseInt(validationData.latest_receipt_info.expires_date));

const is_trial_period = validationData.latest_receipt_info.is_trial_period === 'true';

const today = new Date();

if (expires_date > today) {

if (!is_trial_period) {

[login to view URL]()

}

} else {

[login to view URL]()

}

}

} catch(err) {

[login to view URL]([login to view URL], [login to view URL], [login to view URL])

}

}

Only Russian developers please with React Native, billing validation exp.

Thanks!

Taidot: Android, Javascript, Mobile App Development

Näytä lisää: react native billing ios, react native google pay, react-native-in-app-utils, react-native-billing npm, android billing library, react native in app purchase tutorial, react native subscription, react native android pay, fix css pay, fix complete, android developer rate pay, android fix app, complete pay per view webcam chat, gingerbread android fix app, pdf native android app, website native android, convert jquery mobile app native android app, jquery native android, phonegap convert native android, force close android fix

Tietoa työnantajasta:
( 6 arvostelua ) Moscow, Russian Federation

Projektin tunnus: #18173138

6 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

langlangFan

Hi, thanks for your job posting. I don't look new client but I read your serious job posting. I have developed several websites similar to your requirements. I am good at website design and development. Please chec Lisää

$300 USD 2 päivässä
(76 arvostelua)
7.4
webdroid01

Dear, Greetings…!! Thank you for giving us the opportunity to bid on this project. We are happy to forward our proposal to you. Please feel free to contact us for any further clarifications or assistance you may requ Lisää

$110 USD 3 päivässä
(13 arvostelua)
5.4
helloStack

Hi There, Hit me a message and I’ll walk hand in hand with you until your reach the peak. Are you trying to level up and need that one push? Well, I am at your service, if you’re a company that: - Has a clear Lisää

$155 USD 3 päivässä
(10 arvostelua)
3.7
TechGropse

Dear employer Thank you for posting this job. I am a certified React Native developer have experience of more than 8 years in software development. I have gone through your post carefully. I always introduce some Lisää

$155 USD 3 päivässä
(2 arvostelua)
2.6
metalogic98

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have Lisää

$208 USD 7 päivässä
(0 arvostelua)
0.0
priezz

(I am Russian) I have 2+ years of React Native experience. The callback fix should be trivial, I've seen similar issues in Android with other modules

$250 USD 1 päivässä
(0 arvostelua)
0.0