Replies: 4 comments 30 replies
-
don't use import:
use this applies to all plugins, but i have used the cordova-plugin-purchase with server.url this way before, with success. |
Beta Was this translation helpful? Give feedback.
-
@jayenashar , with some effort and debugging, I was able to do this. Screen.Recording.2023-04-28.at.5.30.32.PM.movNow, the open issue is, when I close the app and re-open it, the page goes blank. On repeated refresh, I see this |
Beta Was this translation helpful? Give feedback.
-
The final open question is - How to tell users to connect to internet since this approach requires internet. Also, since Serviceworker is not registered, there will be no interception, so there seems no opportunity for informing users in a nice way. or are there some ways? Looking forward to learn more. |
Beta Was this translation helpful? Give feedback.
-
Hi! I would greatly appreciate it if you could share your experience with getting an SSR app working with server.url in conjunction with Capacitor. I'm particularly interested in using in-app purchase and native notification features, given that the main pages of the app are SSR remote. I'm curious if this complies with Apple's rules for iOS. Essentially, I'm deciding between migrating the entire Next.js app to React Native (which is very time-consuming) or using server.url with potential IAP features. I'm trying to determine if it's even worth diving into Capacitor for my use case. |
Beta Was this translation helpful? Give feedback.
-
Hello here,
After going through this discussion, I was intrigued to find out, if I can trigger In-App Purchase using
cordova-plugin-purchase
(capacitor documentation).So far, I made multiple attempts, however, when I run this in Android emulator (not even tried in iOS emulator), I see error on Logcat (in Android Studio)
I even ensured that the web bundle has the dependency, even then I am not able to solve this issue.
My code is available at https://github.com/hhimanshu/web-payments-remote
I am not sure if I am going on the right path. Is it even possible?
More Resources
Entire Logcat log
Beta Was this translation helpful? Give feedback.
All reactions