-
Notifications
You must be signed in to change notification settings - Fork 36
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
Server returned no mini app for the provided project ID #550
Comments
Hi @abeshjha Mini Apps are hosted on our Rakuten Platform https://developers.rakuten.com/miniapp/. You can also find more information here -> https://developers.rakuten.com/miniapp/devguide. This repository contains the Demo app and Mini App SDK that interacts with Platform to fetch/download & display mini-apps. Also, our SDK does allow miniapps to load from any URL, https://github.com/rakutentech/android-miniapp/blob/master/miniapp/src/main/java/com/rakuten/tech/mobile/miniapp/MiniApp.kt#L151. Which means you can test the miniapps in local using our Demo app. We are improving our documentation to help the users. Sorry for the inconvenience caused. |
@rleojoseph I appreciate your time and effort to replying my queries. However, I am still confused about few things:
Please, try answering the questions. I feel the sdk is very good and I can contribute in it too it the documentation section when I am clear about everything. Thank you very much. |
Hi @abeshjha , Thank you. Please find my answers below.
Not sure the URL which you are accessing is correct. Please use https://developers.rakuten.com/miniapp/
That's nothing but the Platform or your own server to host & manage MiniApps. You can host the MiniApps in your own server, but you need to have the Miniapps have similar structure and configs like in the Rakuten Platform -> https://developers.rakuten.com/miniapp/devguide/miniapp-manifest-and-meta-data.
Our SDK allows to load MiniApps from Rakuten Platform. Also, it allows to load the mini-apps from your local server or any hosted websites. You don't need to use ProjectID or Subscriptionkey if you are planning to load the miniapps using URL.
Let me know if you have any other questions. |
Thank you @rleojoseph for clarifying. Yes, I have few other questions.
|
val permissions = miniapp.getCustomPermissions(miniAppId) @rleojoseph what should I send as miniAppId parameter when I want to give location/camera , custom permission to mini app but I am loading mini app via url. I don't have an app id. How do I assign permissions? |
I'm extremely sorry. I don't know how I missed to reply your previous thread. You can pretty much find the same flow in our Demo app.
I had a long discussion with our Product team. As of now, the platform is not available to the public but we have plans to go public with different subscription plans in the near future. But yeah, as of now you can't use the platform, I'm sorry about that. As far as the SDK (iOS/Android/JS), we can definitely support you on the SDK side
We enable load miniapp using URL feature just to view the MiniApp UI things, but if you want to use all features from our SDK, we recommend using download & load flow. |
@rleojoseph Thanks for the reply.
But then how do I use download and load flow. You said in point 1 that we can't use platform currently. And in point 2 that the mini app list is fetched from the platform. But if I have no access to platform, how can I use the download and load flow and explore all other functionalities of the sdk? Am I not limited to just loading by url or did I infer it wrong? |
Follow up: I think, it is just not possible to launch our own mini app by providing own mini app ID. The at most we can do we this sdk currently is use load_by_url method and check few functionalities. @rleojoseph Please respond to this query and clear my confusion. |
@abeshjha , As I mentioned that we don't have the platform available to public as of now. And as I see that you are setting up your own server to load the Miniapps and I was trying to help you on how the download & display miniapp flow works in the demo app. I understand that it's really difficult to have a similar structure to what the Mini app platform does, but you can skip a few steps in the SDK, to get started. I see you are able to load a miniapp successfully using a URL. But to download & display a miniapp, SDK goes through a lot of processes to check with the platform before downloading a miniapp. For a start, you can see the MiniAppDownloader gets the MiniAppInfo from the platform and it is called from createMiniAppView(). You can fork the repo and modify the SDK to skip these checks that we do with the platform and start downloading the miniapp (.zip). |
I got this error when I hosted the mini app on my own server and provided the base URL. Can someone just confirm me if the project id and subscription key can be own or this should be given by rakuten? Can I have my own app , own server , own mini app and fetch that using this sdk or we have to develop mini app with rakuten and then fetch it? CAN SOMEONE PLEASE ANSWER THIS SIMPLE QUESTION?? I need to run this for my project and I am stuck because of this question.
The text was updated successfully, but these errors were encountered: