Using flow with Expo SDK v26

Right now the only thing in my CRNA app that flow complains about is my expo import…

import { SecureStore } from ‘expo’;

Just wondering if there is anything I should know about compatibility of versions.

In my package.json I have flow-bin ^0.66.0 and flow-typed ^2.3.0.

OS: macOS High Sierra 10.13.3
Node: 9.11.1
Yarn: 1.5.1
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: Not Found

Packages: (wanted => installed)
expo: 26.0.0 => 26.0.0
react: ^16.3.0 => 16.3.1
react-native: => 0.54.2

Diagnostics report:

I think I just have the wrong import.

This works…

import Expo from 'expo'

var str = 'mystring'
Expo.SecureStore.setItemAsync('mykey', str)

var something = await Expo.SecureStore.getItemAsync('mykey', str)

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.