Use Firebase on unsupported platforms

Google Analytics for Firebase provides a comprehensive set of tools for app development. While its official SDK works best on Android, iOS, Flutter, Unity, C++, React Native, and the web, you can still use Firebase’s features on platforms that don’t have direct support. This article guides you through integrating Firebase on unsupported platforms.

Explore existing plugins

  • Search for community solutions: Look for pre-built Firebase plugins or libraries designed for your platform. Community contributions can save you time and effort.
  • Explore platform-specific repositories: Check package managers and repositories associated with your platform. Developers might’ve created projects that wrap Firebase functionality.

Native Firebase SDKs

If no suitable plugins exist, work directly with the native Firebase SDKs (Android or iOS).

  • Research platform interaction: Learn how your platform interacts with native code. Most platforms offer mechanisms to interact with Android or iOS applications.
  • Create wrapper functions: Build wrapper functions or a plugin within your platform's development environment. These wrappers should provide methods that align with your platform's conventions, while internally calling the native Firebase SDKs.

Considerations for mobile platforms

Even if your mobile app platform supports web frameworks, using the native Firebase SDKs for iOS and Android directly is highly recommended. This approach ensures:

  • Optimal performance: Native SDKs deliver better performance and efficiency.
  • Full feature access: You'll have access to all Firebase features and campaign types offered by Firebase and Google products without compatibility limitations.
  • Integration: Native SDKs streamline integration with mobile-specific services and potential Firebase features tailored for native environments.
Note: Using Firebase on unsupported platforms can be complex depending on your platform and the specific features you want to implement. A strong understanding of both your platform and Android or iOS development is often required. Additionally, you'll also be responsible for maintaining your custom wrapper or plugin as Firebase updates its SDKs.

Related links

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
15495132942059072040
true
Search Help Center
true
true
true
true
true
69256
true
false
false
false