android-miniapp icon indicating copy to clipboard operation
android-miniapp copied to clipboard

Cannot initialize mini app sdk

Open abeshjha opened this issue 2 years ago • 3 comments

I keep getting this error java.lang.RuntimeException: Unable to get provider com.rakuten.tech.mobile.miniapp.MiniappSdkInitializer: java.lang.NumberFormatException: For input string: ""

However, I am written nothing in my code. My manifest file is

To Reproduce

  1. Add the latest verion 5.1.0 in gradle file. Add the meta data as suggested in documentaion. Run the program.

I am confused how should I provide app id and subscription key. Is the mistake while assigning them? Lets say I have a mini app on a server, how can I call it in this app. I think the documentation can be more clear.

abeshjha avatar Feb 11 '23 00:02 abeshjha

This error is present from version 5.0 onwards and casued due to maximum file size limit in manifest file. The type is said to be string but null value is send as default. Please look into it

abeshjha avatar Feb 12 '23 20:02 abeshjha

Hi @abeshjha . Thanks for reaching out. We will definitely look into this and soon.

rleojoseph avatar Feb 16 '23 02:02 rleojoseph

Hi @rleojoseph . I have few more errors to discuss as I am unable to run this. Can you please reach out to me?

abeshjha avatar Feb 17 '23 18:02 abeshjha