Category : android

I have an issue when using HMS push kit for sending DATA notifications to make sure onMessageReceived is called but the problem is that for the same JSON body the notification received sometimes arrive as data and on message received is called and other times it’s received as notification and is handled by the system ..

Read more

Im kind of new to stack so pardon my way of asking.. Actually Im running a flutter application with a Laravel backend and recently made a signup method in the application where the user clicks on the signup arrow but upon clicking I receive this error(something about a JWT) /flutter (19842): {message: LcobucciJWTSignerHmac::createHash(): Argument #2 ..

Read more

I stumbled upon a problem when running my Flutter app on my real device. I tried running it with an emulator and it works just fine (i.e. it communicates with my localhost Laravel server), but upon running it on my phone/real device, Flutter just stops interacting with the localhost server altogether. Below is a snippet ..

Read more

I have tried my best but unable to solve it, almost 2 days wasted. All other contents are updating except the completed question and points are updating when clicking on submit button but question not completed. When clicked on Submit button, the button got invisible but the addPointsAndMakeItCompleted not performing. If addPointsAndMakeItCompleted succussesful performed then ..

Read more

I am trying to add data from android app to mysql database using RxJava and Laravel for RestFul API. I was not able to add data to the database, I think my php code is not correct. Below is my some code for POST method. StudentController.php <?php namespace AppHttpControllers; use IlluminateHttpRequest; use AppModelsStudent; use IlluminateSupportFacadesDB; ..

Read more

I am using Retrofit API to access my Laravel site data. I am not able to display images in my android app. Here is my Laravel code to save images in my Laravel site. $path = ‘images/no-thumbnail.jpeg’; if($request->has(‘thumbnail’)){ $extension = ".".$request->thumbnail->getClientOriginalExtension(); $name = basename($request->thumbnail->getClientOriginalName(), $extension).time(); $name = $name.$extension; $path = $request->thumbnail->storeAs(‘images’, $name, ‘public’); } Here ..

Read more

Currently I want to insert data of text type and a file of type image and the problem considered is the image and I don’t know why. Code C# public async Task<string> CreateUsuario(string nombre, string apellidos, String fechaNac, string sexo, string correo, string phone, string pass, MediaFile IdArchivo) { string resultado = ""; MultipartFormDataContent from ..

Read more