Category : laravel

i have a problem, that i can’t connect to retrofit with my code my back-end is working successfully with postman enter image description here MainActivity: enter image description here APIClient :enter image description here Interface UserService : enter image description here Source: Android..

Read more

I am working on a project where I have to send notifications to registered devices, I have written a complete code for that but firebase not sending push notifications to any device i.e android neither IOS. I am attaching my code please have a look at it. if(!$device_tokens->isEmpty()){ return sendPushNotification($device_tokens, "Confirmation alert", "Have you got ..

Read more

Im new to Pusher and I want to try it so I used Laravel-Lumen in my backend and Android Java in frontend as shown below, Event: <?php namespace AppEvents; use PusherPusher; use IlluminateContractsBroadcastingShouldBroadcast; class PusherEvent extends Event { /** * Create a new event instance. * * @return void */ public function __construct($event, $message) { ..

Read more

Below is the error I am getting in my code when i am running my API is postman: ErrorException: Trying to access array offset on value of type null in file /var/www/html/app/app/Models/AppModels/Product.php on line 102 public static function getallproducts($request) { $language_id = $request->language_id; $skip = $request->page_number . ‘0’; $currentDate = time(); $type = $request->type; //filter ..

Read more