Exponent SDK v11.0.0 is now available

  • Update the Exponent app on your phones from the App Store / Play Store.
  • Pass over the list of Breaking Changes above to see if your app is impacted, and fix them if so.
  • Comes pre-installed in the tabs template – painless unit and snapshot testing for your Exponent app.
  • The listener receives the initial notification (if there is one) on the next tick (so it doesn’t block the initial app render) and will continue to receive other notifications that arrive while the app is open.
  • The feature did not land in the initial release of SDK11 on Friday, November 4, 2016, but an update has been re-submitted to the App Store to include it.

SDK 11 is awesome. I really like it. Once you read this post you will
understand why, and probably also like it.

@notbrent: check out @snikhilesh’s amazing work with EXGL (THREE.js etc in react-native!) in @exponentjs sdk v11.0.0

SDK 11 is awesome. I really like it. Once you read this post you will

understand why, and probably also like it.

Exponent SDK 11.0.0 is based on the recently released React Native

0.36.0. This is a jump of 3 minor versions from React Native; Exponent

SDK 10.0.0 was based off of 0.33.0. See the release notes for 0.34.1,

0.35.0, and 0.36.0 for a comprehensive list of changes since the last version.

– Added a binary for Linux, so Linux users no longer need to build from

source! See the installation instructions.

In previous Exponent SDKs, you had to access the push notification

that was used to open the app (if there was one) from the top level

, and any notifications

. This is now much simpler:

The listener receives the initial notification (if there is one) on the next tick (so it doesn’t block the initial app render) and will continue to receive other notifications that arrive while the app is open. See a full example in this diff.

allows you to detect QR codes (sorry?) and many other types of barcodes.

See the full docs.

You can now build iPad apps with Exponent! We’ve also added

so you can detect what type of

device your app is running on.

This feature did not land in the initial release of SDK11 on Friday, November 4, 2016, but an update has been re-submitted to the App Store to include it. It should be available early the following week. We will update the release notes when it has landed.

. See the type signature for the response. See the docs here.

 — we exposed this as a function

because it may change while your app is backgrounded, so you might want

to ensure that when you use this you check the value whenever the app state changes from backgrounded to foregrounded.

Exponent SDK v11.0.0 is now available