Page 3 of 4

API Express AE009

Posted: Mon Jun 19, 2017 1:12 pm
by Bernie

Any updates on this one?


API Express AE009

Posted: Mon Jun 19, 2017 5:20 pm
by Jeffry Reed

While this response is not a solution to your problem, I would like to share a solution to the problems associated with this paradigm of applications in general. Firebase.

Check out this video, https://www.youtube.com/watch?v=xAsvw..., particularly at 27:00 where she gets right to the point regarding image upload.

Although I have just started with Firebase, my initial experience is that is the most advanced platform out there. But I guess one would expect nothing less from Google.


API Express AE009

Posted: Mon Jun 19, 2017 8:45 pm
by Bernie

Jeffry,

Thank you for the Firebase hint. This all sounds very promising and I will definitely look into it.

For now I need a solution with a SQL database and the Firebase database does not support this since it is all about JSON. But this could be a powerful instrument for future projects to come. Thanks again.


API Express AE009

Posted: Mon Jun 19, 2017 9:38 pm
by Jeffry Reed

Yeah, I figured as much, just thought I would share since implementing Firebase authentication and file management took me no more than 60 minutes while you have been struggling with the traditional flow for weeks. Good luck!


API Express AE009

Posted: Tue Jun 20, 2017 8:48 am
by Illya Stepanov

Hi Bernie, yes - if you need a timely help with such implementation our Service team can help you with that.


API Express AE009

Posted: Tue Jun 20, 2017 8:51 am
by Illya Stepanov

I've pinged our development team and they are checking out your app right now, if more news will be available, I will let you know.


API Express AE009

Posted: Tue Jun 20, 2017 2:09 pm
by Illya Stepanov

To answer your question about transformation here -- the service is expecting just a pure base64 string without any additional meta data involved.


API Express AE009

Posted: Tue Jun 20, 2017 2:43 pm
by Illya Stepanov

We have checked your app and your case is no exception, most Appery.io developers also run into similar cases, and we decided to write a small app sample that will show how to do this in our platform and we'll publish it on our blog in nearest time.

I think that Cordova Camera plugin is saving image file with additional meta data like: "data:image/jpeg;base64", but the API Express service is expecting to recive just a pure base64 string without any additional meta data.


API Express AE009

Posted: Tue Jun 20, 2017 3:14 pm
by Bernie

Illya,
Thank you so much. A small app sample will be perfect.
Can't wait to see.


API Express AE009

Posted: Tue Jun 20, 2017 4:15 pm
by Bernie

Oh, and please provide some information on how to read the image from an external database as well. Obviously that would be the next question.