This repository was archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
IOException on Provisioning New Agent #93
Comments
@james-cohen There's a nuanced step in Android that needs to happen before you can provision wallet. You need to grant External Storage write permissions on the android app. Here's how OSMA has it done. Alternatively, you can try modifying where default wallet path is stored
|
@tmarkovski That works now! Thank you. Before this I was using the following code included in my Android MainActivity.cs as per the Indy Xamarin setup instructions:
This still gives me a popup to grant permission to Data Storage upon first opening the app but then didn't work. Should it be updated to the method you just provided? |
Yes, that documentation is somewhat outdated |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to run the Xamarin Forms sample on my Samsung Galaxy S10 (Android 10.0 Q - Android API 29) and it builds fine but I repeatedly get the same issue whenever I press 'Provision New Agent':
I have copied the code pretty much word for word (apart from the namespaces) and have installed libindy as per the instructions. The only thing I have changed is the EndpointURI in the AgentOptions setup to direct to the endpoint of the Dockerized .Net Agent demo running on my PC:
However, the issue is replicated regardless of what URI is inserted.
This is using the most up to date versions of all required NuGet packages in Visual Studio 2019 on Windows 10.
The text was updated successfully, but these errors were encountered: