laravel fcm push notification with brozot/Laravel-FCM not working on ios but working fine with android
Even ios can get notification from fcm console. Controller function : public function push(Request $request) { $validator = Validator::make($request->all(), [ 'title' = > 'required', 'body' = > 'required', 'token' = > 'required', 'type' = > 'required', 'id' = > 'required', ]); if ($validator->fails()) { $this->throwValidationException( $request, $validator ); } $title = $request['title']; $body = $request['body']; $type = $request['type']; $id = $request['id']; $dataarray = array( "id" = >$id, "type" = >$type, 'title' = >$title, 'body' = >$body, 'image' = >'321451_v2.jpg', ); $token = $request