-
-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An unknown or unexpected error has occured - react-native-iap #191
Comments
@immohdali Could you please fill up issue again based on below format so we can help? Version of react-native-iapPlatforms you faced the error (IOS or Android or both?)Expected behaviorActual behaviorTested environment (Emulator? Real Device?)Steps to reproduce the behaviorAlso where exactly is warning occuring? Which line? |
In your source code.
Why did you enclose the productid with ${} ? How about to try this ?
Of course, the productid should be string. |
Version of react-native-iap Platforms you faced the error (IOS or Android or both?) Tested environment (Emulator? Real Device?) Steps to reproduce the behavior |
What is a meaning of E_UNKNOWN error..? please help me it very urgent. |
@immohdali Would you read my answer above ? |
@immohdali You are wrapping the two possible err handling at once so it would be better to seperate them and see which line it exactly is occuring.
Do something like below.
We need to understand the problem to help you out. |
@JJMoon Yes... @dooboolab ... I implement your code but still i am getting E_UNKNOWN error after login for payment |
|
@immohdali Alright, you are having problem from getting product which means your app is having problem fetching |
No.. products are fetching properly. it will be helpful if u help me via teamviewer Its very urgent for me |
@immohdali Alright. Today, I am out of time. I'll comeback 18 hours later from now. Is it fine? |
Its only 2 min work for you...actually from tomorrow 2 days holidays. I hope you understand |
if you want i will share you files you can update and send me again |
@immohdali I am working on phone right now and will not stay with my pc for today.. Yeah it will be better if you can share the repo instead files. Also you should share itunnesconnect account too so I can access your in app items. My email address is dooboolab@gmail.com |
Repo link - https://github.com/immohdali/janmo.git I added my src folder where all components Its a matrimonial site below i shared you login access when u will click on profile chat icon it will redirect you to membership screen. Login Details : |
@immohdali Hey, I've just looked your repo and I can't help you with this. You gotta give me your complete building environment to just start the project. Also you've not given me your itunesconnect which I can't help either. You should think yourself how to help somebody like you. You are wasting my time~ |
@dooboolab after 2 hours i will be at mac. if possible i will share you my mac control via TeamViewer. i hope you will be free skype id - immohdali |
@immohdali I have to go out exactly after 90 minutes from now.. I'll be back at night which is 8hours from now. |
no problem. i will be there after 8 hours from now
…On Sat, 16 Jun 2018, 8:49 am Hyo Chan Jang, ***@***.***> wrote:
@immohdali <https://github.com/immohdali> I have to go out exactly after
90 minutes from now.. I'll be back at night which is 8hours from now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#191 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFONdOEZBik3CQ3IlAIqpkxnvasfajb1ks5t9HlBgaJpZM4UkFpf>
.
|
no problem i will be there after 8 hours from now |
@immohdali Sorry, I think I'll take two more hours to be back home. |
no problem. i am waiting
Add me at skype - immohdali
…On Sat, 16 Jun 2018, 3:16 pm Hyo Chan Jang, ***@***.***> wrote:
@immohdali <https://github.com/immohdali> Sorry, I think I'll take two
more hours to be back home.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#191 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFONdFolE9-7BtlDnYaqxYbvPoewmueoks5t9NPugaJpZM4UkFpf>
.
|
I am not using skype. What about slack? Here is invitation link for ReactNativeSeoul. |
@immohdali I am on now. Write me something on slack. I'll close this for now. Please add new issue when someone experience same issue. |
Sorry... there was internet issue... please tell me when u will be
available..?
…On Sat, Jun 16, 2018 at 6:00 PM, Hyo Chan Jang ***@***.***> wrote:
Closed #191 <#191>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#191 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFONdIOJjzjG40GN6VuRGjc9MOI1SQOrks5t9PpdgaJpZM4UkFpf>
.
|
@immohdali Can't help you more than that. I've look into your code remotely more than an hour yesterday and told you how to improve your code in slack. It was not a bug or anything but just your immature coding skill. You need to solve your problem yourself. I can answer to your question and guide your coding like I've done yesterday but I won't edit your code anymore. I've done this kind of thing lots of time and I know that it isn't healthy. Won't comeback to this issue either. Also, please see the example project and compare with yours too. |
@hyochan @JJMoon Please help me understand and resolve this situation. |
same issue |
anybody fine solution? this is very serious error @Desintegrator , @hsparihar-systango @hyochan @immohdali |
I am facing same issue!!! |
I have same error. but After reboot my cellphone, It works again. maybe There was some problem in playstore app or playstore gmail account. |
Getting error after login to apple for in app purchase payment
Err. message - An unknown or unexpected error has occured. Please try again later.
Err.Code - E_UNKNOWN
First I am loading product via product id then calling for payment
async buyplan() {
try {
await RNIap.prepare();
const products = await RNIap.getProducts([
${this.state.productid}
]);await RNIap.buyProduct(this.state.productid).then(purchase => {
Toast.show("Payment Successfully Completed");
}).catch(err => {
// Toast.show("Payment Transaction Failed");
console.warn(err);
alert(err.message);
})
} catch (err) {
console.warn(err);
}
}
Please help me out from this.
Thanks in advance.
The text was updated successfully, but these errors were encountered: