I am using dart_appwrite in my Flutter app. I have a function that uploads an image to my storage. It works fine on other targeted platforms except my Mac OS.
This is the error I get:
AppwriteException: ClientException with SocketException: Connection failed (OS Error: Operation not permitted, errno = 1), address = cloud.appwrite.io, port = 443, uri=https://cloud.appwrite.io/v1/storage/buckets/65399950e69c69a3d059/files (0)
Please I need help on knowing what the problem is and how to solve it. Thanks
i hope you're not putting the api key into that app 👀
Maybe there's a plist or something that needs to be updated to grant the app network access
I am. Tbh, I really don't care. It's just a small app. I'm not worried about all that
About the info.plist... I don't know if there is
This helped. Thank you. Wouldn't have figured it out that quickly. Turns out not really an Appwrite problem.
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...