expo-device doesn't update value even after killing and launching the app again

Hi,
I’m printing the device name on my app :

import * as Device from 'expo-device';
[...]
<Text>{Device.deviceName}</Text>

And I also provide a chance to the user to change it with expo-intent-launcher opening the corresponding Android menu :

import { startActivityAsync, ActivityAction } from 'expo-intent-launcher';
[...]
const openSettings = () => {
      startActivityAsync(ActivityAction.DEVICE_NAME);
}

But after changing it, the value isn’t updated … And strangly isn’t updated even after launching the app again … ( a developement build )

Any clue ?

Reproductible Snack :

  1. SDK Version: 46
  2. Platforms(Android/iOS/web/all): Android

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