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

React native app BUILD FAILED after installing @react-native-firebase/app

app BUILD FAILED after i install @react-native-firebase/app package.json "@react-native-firebase/app": "^18.0.0", "react-native": "0.70.0", this is my build.gradle implementation project(':react-native-pusher-push-notifications') implementation 'com.pusher:push-notifications-android:1.9.0' implementation ("com.google.firebase:firebase-iid:21.1.0") implementation ("com.google.firebase:firebase-messaging:23.0.0") implementation 'androidx.multidex:multidex:2.0.1' // <-- ADD THIS DEPENDENCY * What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'.…

VIEW QUESTION
Back To Top
Search