How to use bunnyCDN to load images in flutter app - android

I'm working on a flutter app for a client and I've been stuck trying to load images from bunnyCDN and prior to this project I've never used bunnyCDN or any other CDN. I've done research and every necessary step to figure out how to go about it but still to no avail. I need help on how to load, download and upload from bunnyCDN in flutter app.
Thanks in advance.

Related

In React Native App (0.61.4) local static images are not displaying on both ios and android devices

In my react native app project of version 0.61.4, I have alot of static images that were displaying before on both ios and android devices until recently.
In my application I retrieve and display images using require. After about a year those images were no longer being displayed.
I did alot of research to this effect because I could not understand how this could just happen all of a sudden without any action on my part.
For the iOS case I discovered this solution from the following link:
React Native Image not showing, How do i fix?
It says something to the fact that this,
[super displayLayer:layer];
needs to be added in an if block. I want to confirm if this is really the solution for the iOS case and if so why since I did not run into this issue before, while I was developing this app 2 years ago, and had it submitted a year ago.
In the android case, I never did find a concrete solution for this. I noticed that when I cleared the app cache for my app on the android device, after re-running the app on the android device, the images no longer displayed. I tried hard to find out why this is the case and how to resolve it permanently, but all to no avail.
I came across this package library in my research called react-native-fast-image, but I was really skeptical concerning this because I dont think it handles static images but only remote images.
With all this being said, I need help in how to get the static images displayed on my react native app on both iOS and android devices. A solution will be really appreciated.
Thanks so much.
I did alot of research and kept seeing the same thing. Here are the following links:
React-native: Images not showing in android device; but shows perfectly in emulator
React Native: uri image not showing on android but perfectly displays on the ios emulator
react-native iOS app not showing static/local assets (images) after deploying
React Native Image not showing, How do i fix?

How do you get the SurveyMonkey SDK to upload images on iOS and Android?

We are trying to integrate the SurveyMonkey SDK with our iOS app and Android app for user feedback. Everything seems to be working, except we are unable to upload images from photo library/camera on both platforms. Upon attempting to upload, the SDK becomes unresponsive, or it returns directly to the app without submitting the response. However, if you submit without trying to upload a photo from the library, the response will be accepted.
Any help would be great. Thanks!
Derek, I'm an engineer who works on the SDKs for SurveyMonkey. Unfortunately file upload is not yet supported by the iOS/Android SDKs. We're working on adding support in Android, but iOS will remain unsupported for the time being due to a known issue in iOS UIWebviews.
Wish I had a better answer for you, but stay tuned.

How to load newest website through android webview

I have created an app that allows my website to be viewed in an android app however it does not load the newest version of the website how would I do this?
Thanks
Tim
You should probably clear Cache via
myBrowser.clearCache(true)
just after creating it, before loading any pages.

Cordova/Phonegap and HTML5 App cache on Android

I'm trying to make an app which is available to users while offline, but updates if it's online . So i was thinking about using the HTML5 cache just for that, caching up the most recent version. The problem is , sometimes it works sometimes it doesnt. I have an index.html page in my Cordova App which sets your window.location to the http online link. Why wouldn't it work all the time? I have my manifest.appcache configured and mime-types enabled, sometimes it will just show a blank page not found ,even though it downloaded a page which included a manifest. Is there anything i'm missing? I put the link setting in index.html after the javascript body load event. It's android that i'm testing , so far i tried with an Iphone 1 time and it worked.
If you guys know more, please share

PhoneGap Upload data in Background

Requirement:
I have a PhoneGap application. I collect photos, text data and audio recordings through my app. Now I want to upload this data to the server.
How do I upload my data to servers even if the application is suspended or put to background.
If yes, any pointers would be really helpful. I am developing the app for Android and iOS.
Thanks a lot for all the pointers.
I found the following:
You can use following PhoneGap plugin to upload data in the background for iOS.
http://www.codefromjames.com/wordpress/?p=154
I start the upload process when the application is in use and continue upload in the background until 5 mins (you can choose the time, my upload should never take more than 5 minutes)
Now I am looking in how it can be done in Android and PhoneGap. I will update the post when I find anything for Android.
Thanks
Anup

Categories

Resources