Is there a way to customise the service worker registration

Hi,

I would like to customise the service worker registration, in particular to show the user a message if the code has been updated and allow the user to update the cached files on the click of a button.

Expo comes with predefined service worker. Is anything planned to allow updating that service worker ?

Many thanks,
Alain

------------------- Below, my expo diagnostics ---------------
Expo CLI 3.4.1 environment info:
System:
OS: macOS 10.14.6
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
npm: 6.11.3 - ~/.nvm/versions/node/v10.16.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
npmPackages:
@types/react: ^16.9.5 => 16.9.5
@types/react-native: ^0.57.65 => 0.57.65
expo: ^35.0.0 => 35.0.0
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz => 0.59.8
npmGlobalPackages:
expo-cli: 3.4.1

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