React Native ( Android ) fix call-back after complete and pay subscribe. 'react-native-billing'
$30-250 USD
Betalt ved levering
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!
Projekt ID: #18173138
Om projektet
6 freelancere byder i gennemsnit $196 timen for dette job
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 Flere
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 Flere
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 Flere
(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