Ios

iOS APNs/APS Environments

· Reading time: ~2 minute(s) (337 words) programming reactnative ios javascript

At work, we’re working on a React Native mobile app. For our iOS deployment, we have our test builds (that consumes APIs in a testing environment) going to MS App Center, and production builds going to TestFlight, eventually being promoted to the App Store.

We use MS Notification Hub to handle our push notifications that are triggered by internal systems etc. but we wanted to achieve a situation where we were using a testing APNs environment (i.e. the sandbox) for our App Center builds, and the production APNs environment for our TestFlight/App Store builds.

(Continue reading)

Stop your font sizes differing between Landscape and Portrait mode on iOS

· Reading time: ~1 minute(s) (56 words) programming css web ios

Have you ever had the problem where you’re styling some content but when you rotate the device to change between landscape and portrait modes on an iOS device, the font size changes?

The simplest way to resolve it is to include this in one of your primary css rules such as html or body:

-webkit-text-size-adjust: 100%;
(Continue reading)