Home / Companies / Firebase / Blog / March 2023

March 2023 Summaries

3 posts from Firebase

Filter
Month: Year:
Post Summaries Back to Blog
Firebase announced game-development updates aimed at improving security, stability, debugging, and monetization. App Check will expand through C++ and Unity SDK support, using app and device attestations to block unauthorized or altered clients, spoofed traffic, and potential cheating before requests reach backend resources. Crashlytics enhancements include clearer C# call stacks for Unity games compiled with IL2CPP, on-demand fatal reporting for uncaught Unity exceptions that do not terminate the app, improved native ANR diagnostics through symbolication, and GWP-ASan support to identify production memory errors such as buffer overflows and use-after-free bugs. Firebase also highlighted how Google Analytics, Remote Config, and A/B Testing can help developers tailor ad frequency, test new formats gradually, and balance advertising revenue with player retention.
Mar 16, 2023 1,260 words in the original blog post.
Firestore Lite is a lightweight, REST-only alternative to the full Firestore Web SDK that substantially reduces JavaScript bundle size by omitting capabilities such as real-time listeners. While using one-time reads with the standard SDK provides little size reduction because its synchronization engine remains integrated, switching imports to `firebase/firestore/lite` can reduce a demonstrated bundle from roughly 196 KB to 54 KB, cutting initial load times considerably on slow networks. Applications that need both fast initial content and later real-time updates can use Firestore Lite for initial `getDoc()` requests, then load the full SDK through separate bundles or dynamic imports for `onSnapshot()` subscriptions. Because directly dynamic-importing the full Firestore module can prevent effective tree shaking and produce an unnecessarily large chunk, an intermediate file that re-exports only required functions enables bundlers such as Webpack to reduce the delayed full-SDK bundle. This approach can make essential data visible sooner while postponing the cost of real-time functionality, though implementation choices should reflect each application’s feature and performance needs.
Mar 09, 2023 2,310 words in the original blog post.
React Native developers can choose between React Native Firebase, which wraps Firebase’s native Android and iOS SDKs and is generally recommended for mobile applications, and the Firebase JavaScript SDK, which is primarily web-focused but can support certain React Native use cases. React Native Firebase offers access to native APIs and broader mobile functionality, including services such as Analytics, Crashlytics, Dynamic Links, Messaging, Performance, Remote Config, and App Check, making it suitable for apps that rely on native SDKs or unsupported JavaScript SDK features. The JavaScript SDK may be preferable for projects using Expo Go or sharing a single codebase across Android, iOS, and the web. Its React Native setup uses dedicated package bundles for services such as Auth and Firestore, while Firebase Authentication requires AsyncStorage to preserve login state between app sessions; without it, authentication defaults to nonpersistent in-memory storage.
Mar 07, 2023 678 words in the original blog post.