Skip to main content

Posts

Mobile Development: Native, Hybrid or Web?

When starting a new app from scratch you are faced with a lot of technical choices based on your own targets and considerations. Kiran Shinde has a nice overview and pro and contras. Choices Native Approach Kotlin Swift Web Approach PWA Cordova Cross-Platform Approach Flutter React Native Xamarin Considerations Required Platform Support Application Functional Specs Goto Market Time Budget Current Expertise Check details here: Pathways to Mobile Development @Medium.com Kiran Shinde

Destroying Backends - Serverless Backends for Mobile Apps iOS or Android

Destroying Backends with Serverless Destroying Backends with Amplify Destroying Backends Amplified Mobile App Development with React Native and AWS Amplify Introducing the AWS Amplify GraphQL Client AWS Amplify API Docs Amplify GraphQL client The Amplify GraphQL client is a lighter weight option if you’re looking for a simple way to leverage GraphQL features and do not need the offline capabilities or caching of the Apollo client. If you need those features, choose the AWS AppSync SDK. AWS AppSync SDK The AWS AppSync SDK enables you to integrate your app with the AWS AppSync service and integrates with the Apollo client found here. The SDK supports multiple authorization models, handles subscription handshake protocols for real-time updates to data, and has built-in capabilities for offline support that makes it easy to integrate into your app.

Automatic Semantic Versioning via fastlane

Boss: “Can you release a new version of Android Alpha?” Developer: “ Yeah, sure. Hmm 🤔. Hey boss, how should I do that?” Boss: “Just run fastlane android alpha.” Developer: “Yeah, but what about version? Shouldn’t I update it in those Gradle files?” Boss: “No. Just run fastlane android alpha.” Developer: “And build number? We use it as a version code on google play.” Boss: “Just run fastlane android alpha and let’s have a coffee. ☕ I’ll tell you how it works.” UseJournal.com

iOS App modularization to reduce compiling time

Modularize an iOS application By default, you only have one target for your app, and possibly other targets for unit testing, and UI testing. But if your app is developed on one single target, when you change one line of your code, Xcode will eventually rebuild the whole app... You can manage to not only build, but also run a module by creating a sample app that import only the framework concerned, and using the features contained in the module. Therefore, when you are changing the code of a framework, only this framework will be rebuilt at the next compilation, because other frameworks and targets haven’t changed. This is where a precious time is saved. Medium.com Common problems when modularizing an iOS application In this post I am going to present most common problems I went through when I was modularizing an existing big iOS app, and what I did to solve or to avoid the problems. Medium.com Rayane Kurrimboccus

Tips for working with Firebase Remote Config

Caching As long as we're talking about loading strategies, let me hit on a related topic; caching. It sometimes confuses developers that values from remote config are cached for 12 hours instead of being grabbed immediately every time you call fetch(). And while you can reduce this cache time somewhat, if you start making network calls too frequently, your app might start getting throttled, either by the client, or the Remote Config service. Obviously, while you're developing and testing your Remote Config implementation, this can be inconvenient, which is why you can override the local throttling behavior by turning on developer mode . Force Update of Remote Config With Firebase Cloud Messaging, you can send a data-only notification to all of your devices, letting them know that there's an urgent update pending. Your apps can respond to this incoming notification by storing some kind of flag locally. The next time your user starts up your app, it can look for thi...

Google Play Store now open for Progressive Web Apps

Chrome 72 for Android shipped the long-awaited Trusted Web Activity (TWA) feature, which means we can now distribute PWAs in the Google Play Store! Is TWA a Hybrid framework, similar to Cordova? No. With Cordova or other hybrid solutions, you are typically shipping your web resources (HTML, JS, CSS, etc.) within your APK package. Also, the engine is different and isolated from the users’ browser, so no session or cache sharing. With Trusted Web Activity you don’t need to package any resource file from your PWA (only native components, in case you want them); all your resources will be downloaded and updated on the fly from your Service Worker. Your PWA will still be rendered with the installed Chrome version, sharing all storage, cache, and sessions with the browser. Therefore, if your user has a session on your website opened when the user installs the app from the Play Store, she will still be logged in. The user is just installing a shortcut to Chrome using a special mode. How...