skip to Main Content

Laravel – How can I send multiple notification with "minishlink/web-push" pakckage?

I am using "minishlink/web-push" package to send notification in my Laravel project. Route::post("/admin/sendNotif/{sub}", function(PushSubscription $sub, Request $request){ $webPush = new WebPush([ "VAPID" => [ "publicKey" => "BNbqX8M5NJJ...", "privateKey" => "i4I89hSrn-MGvp...", "subject" => "https://example.com" ] ]); $webPush->sendOneNotification( Subscription::create(json_decode($sub->data, true)), json_encode($request->input()) );…

VIEW QUESTION

Flutter awesome_extensions package issue

I cloned a project that uses awesome_extensions package version 2.0.5 but the problem is whenever I run the flutter pub get and run the app. It gives the following error that shows the version 2.0.8 is installed. ../../../.pub-cache/hosted/pub.dev/awesome_extensions-2.0.8/lib/widget_extensions/padding_extension.dart:44:29: Error: Member…

VIEW QUESTION

Ubuntu – unable to git clone by symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0

Reproduce: git clone [any repo with https link] Error: /usr/lib/git-core/git-remote-https: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0 I have tried: remove and reinstall git. remove the libbp11-kit and wget http://archive.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi7_3.3-4_amd64.deb then install another one. None of them works

VIEW QUESTION
Back To Top
Search