NextGrowth Labs

Home

Services

Tools

Case Studies

Blog

Contact

NextGrowthLabs

NextGrowth Labs Private Limited

#27, Santosh Tower,
Second Floor, JP Nagar,
4th Phase, 4th Main 100ft Ring Road
Bangalore - 560078

Email:

contact@nextgrowthlabs.com

Follow Us

Consulting

App Store Optimization

Mobile App Promotion

Search Engine Optimization

Paid Campaigns

Free App Analysis

Improve Pagespeed

Mobile & Web Analytics

SEO Site Audit

SEO Services in Bangalore

SEO Services in Mumbai

ASO Services in Bangalore

ASO Services in Mumbai

Free Tools

SEO Auditor

Sitemap Analyzer

App Rank Checker

SEO Content Assistant

iOS Keyword Search

Bulk Page Speed Assessment

Bulk iOS Keyword Rank Tracker

Html Editor

Website Rank Checker

Emi Calculator

Keyword Shuffle Tool

Multi Tool

Keyword Suggestion

Title & Meta Description

Keyword Density Tool

Internal Links Checker

Keyword Generator Tool

Web Mobile Friendly Checker

Website Technology Checker

Font Changer Tool

Word to HTML Converter

Robots.txt Generator

Rating Projection Calculator

JSON Editor

Cloud Data Warehouse Setup Cost Calculator

Web Page Crawler

Youtube Video Tag Extractor

Youtube Hashtag Generator

Youtube Video Title Extractor

Youtube Video Description Extractor

YouTube Channel Audit Tool

Redirect Checker

Robots.txt Generator

Password Generator

Robots.txt Tester

SERP Snippet Generator

Google Location Changer

Domain Age Checker

Word Counter

AI Tools

AI Text Humanizer Tool

AI Paragraph Rewriter

AI Rewording Tool

AI Summarizer Tool

AI Paraphrasing Tool

Sentence Rewriter Tool

Grammar Checker Tool

Paragraph Generator Tool

Hook Generator Tool

AI Content Detector

AI Conclusion Generator

Instagram Name Generator

YouTube Keyword Generator

YouTube Video Title Generator

YouTube Video Description

YouTube Video idea Generator

YouTube Channel Name Generator

YouTube Content Generator

SEO Title Generator

Meta Description Generator

Instagram Hashtag Generator

AI Slogan Generator

AI Acronym Generator

Our mission is to leverage technology and data science to maximize your app's organic users.

Google Premier Partner 2025

Contact Us

Privacy policy

Terms of service

©NextGrowthLabs 2026. All rights reserved.

Home

/

Blog

/

Sending Firebase Cloud Messaging Tokens to BigQuery

Sending Firebase Cloud Messaging Tokens to BigQuery

P

Praveen Kumar

July 24, 2025

•

2 min read

Let AI summarise and analyse this post for you:

ChatGPTPerplexityClaudeGrokGoogle AIGemini
FCM

To collect and active your customer data – we highly recommend using a CDP tool – like Segment, Rudderstack, Jitsu. However, there are times when developers don’t like to add SDKs or there are inherent platform level limitations.

In such cases, you can retrieve the FCM data and send it directly to BigQuery (BQ) by writing some functions. If you haven’t set up BigQuery yet, you will need to do so first.

Step 1 Grab the FCM ID from Firebase

```

FirebaseMessaging.getInstance().getToken().addOnCompleteListener(task -> { String fcm_token = task.getResult(); process(fcm_token) }

Step 2 - Set the id and send it to destination ```

FCM token length | Setting and sending data for Android Apps

Firebase User Properties (On Android) support 36 characters limit. So, as a workaround, you can divide the token and add into a list. The length of FCM token is 163 characters, so you can divide it roughly into 6 parts as following.

```

FirebaseAnalytics mAnalytics; mAnalytics = FirebaseAnalytics.getInstance(this); for(int i = 0; i < processedTokenList(); i++){ mAnalytics.setmAnalytics.setUserProperty("sp_id"+i, processedTokenList.get(i)); } ```

Setting and sending data for iOS Apps

For iOS, it’s quite simple, you can just set user properties – as outlined in this guide.

Once you are done, to verify your implementation, go to the debug view of the firebase. Thereafter, the data will start flowing to BigQuery.

Once you do that, you’d be able to reach out to this user by directly sending them the notification.

Table of contents

1. Step 1 Grab the FCM ID from Firebase2. FCM token length | Setting and sending data for Android Apps3. Setting and sending data for iOS Apps4. Related posts

Share

LinkedInXFacebook

Related Articles

News content google serp

SEO

March 28, 2026

How To Optimize News Content For Today’s Social-First Google SERP

Apple Ads

Uncategorized

March 26, 2026

Run an Apple Search Ad: Top Tips, Keyword Checker, Popularity

Best Medicine Delivery Apps

Top Apps

March 26, 2026

🏥 The Best Medicine Delivery Apps in India 2026