Find Jobs
Hire Freelancers

Consultation for Firebase notification for Android/IOS

$10-30 USD

Chiuso
Pubblicato più di 6 anni fa

$10-30 USD

Pagato al completamento
I have an app which aims to send notifications to IOS/Android users, our target users in future 500K users, taking into consideration that we're using FCM technology on Firebase to send to both apps, and also have a look to the PHP code which is responsible to send [login to view URL] need to know if the approach we're using is the right approach in terms of real time notification with no delay. I heard there's a maximum connection of notifications (i.e 1000 notification per once). What we are expecting is that someone who worked in similar projects of sending thousands of messages at once and receiving in less than 5 sec to all users. I heard there is something else called Topic, if we have something wrong with backend code or something we need to know. if(count($androidFCMs)){ //Send to android users: $fields = array ( 'registration_ids' => $androidFCMs, 'data' => $content ); $fields = json_encode ( $fields ); $headers = array ( 'Authorization: '.$server_key, 'Content-Type: application/json' ); $ch = curl_init (); curl_setopt ( $ch, CURLOPT_URL, $url ); curl_setopt ( $ch, CURLOPT_POST, true ); curl_setopt ( $ch, CURLOPT_HTTPHEADER, $headers ); curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt ( $ch, CURLOPT_POSTFIELDS, $fields ); $result = curl_exec ( $ch ); if($result === false) { //Log error to a log file $current = file_get_contents($file); $current .= "\t" . 'CALL API ERROR, FOR ANDROID REQUEST: \n' .curl_error($ch) . "\n"; $msg = str_replace('{ANDROID_TOTAL}', 0, $msg); $msg = str_replace('{ANDROID_SENT}', 0, $msg); $msg = str_replace('{ANDROID_FAILED}', 0, $msg); $msg = str_replace('{ANDROID_PER}', '0%' , $msg); $current = file_get_contents($file); $current .= "\n\t" . 'Android API RESPONSE: ' .' NO USERS FOUND. NO API CALLED TO GET A RESPONE!' . "\n-\t-\t-\t-\n"; file_put_contents($file, $current); } curl_close ( $ch ); } if(count($iosFCMs)){ //Send to ios users: $iosData = [ 'activityId' => $content->activityId, 'type' => $content->type, ]; $iosNotification = [ 'title' => $content->headline, 'body' => $content->body, ]; $fields = array ( 'registration_ids' => $iosFCMs, 'priority' => 'high', 'data' =>$iosData, 'notification' => $iosNotification ); $fields = json_encode ( $fields ); $headers = array ( 'Authorization: '.$server_key, 'Content-Type: application/json' ); $ch = curl_init (); curl_setopt ( $ch, CURLOPT_URL, $url ); curl_setopt ( $ch, CURLOPT_POST, true ); curl_setopt ( $ch, CURLOPT_HTTPHEADER, $headers ); curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt ( $ch, CURLOPT_POSTFIELDS, $fields ); $result = curl_exec ( $ch ); if($result === false) { $current = file_get_contents($file); $current .= "\t" . 'CALL API ERROR, FOR IOS REQUEST: \n' .curl_error($ch) . "\n"; $msg = str_replace('{IOS_TOTAL}', 0, $msg); $msg = str_replace('{IOS_SENT}', 0, $msg); $msg = str_replace('{IOS_FAILED}', 0, $msg); $msg = str_replace('{IOS_PER}', '0%' , $msg); $current = file_get_contents($file); $current .= "\t" . 'iOS API RESPONSE: ' .' NO USERS FOUND. NO API CALLED TO GET A RESPONE!' . "\n-\t-\t-\t-\n"; file_put_contents($file, $current); } curl_close ( $ch ); }
Rif. progetto: 15874491

Info sul progetto

5 proposte
Progetto a distanza
Attivo 6 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
5 freelance hanno fatto un'offerta media di $44 USD
Avatar dell'utente
Dear Sir, I have read your project description. I have done similar projects in past and I can do your work. Please come to private chat to discuss in detail. Relevant Skills and Experience I am a Professional Android App Developer and Designer with 5+ years of experience. I have completed 100+ projects with Excellent remarks. Thanks! Proposed Milestones $25 USD - Budget
$25 USD in 1 giorno
5,0 (86 valutazioni)
7,6
7,6
Avatar dell'utente
Hello I am expert in Firebase notification integration and done this already. Relevant Skills and Experience fireabase php Proposed Milestones $88 USD - work
$88 USD in 2 giorni
4,8 (147 valutazioni)
6,9
6,9
Avatar dell'utente
A proposal has not yet been provided
$25 USD in 1 giorno
4,8 (13 valutazioni)
4,2
4,2
Avatar dell'utente
i know real time notifications send using firebase , Mqtt and can start work asap
$55 USD in 2 giorni
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: PALESTINIAN TERRITORY
Ramallah, Palestinian Territory
5,0
157
Metodo di pagamento verificato
Membro dal ago 6, 2014

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.