Open gerald-lbn opened 1 year ago
Solves #67.
Untested on iOS
The code works but the linter complains about syntax here
https://github.com/ClubInfoInsaT/application-amicale/blob/49acb69cb7f49bc5f0eb7c362d15350b086096f9/src/screens/Other/Settings/SettingsScreen.tsx#L325-L333
By changing the syntax like this,
Linking.sendIntent( 'android.settings.APP_NOTIFICATION_SETTINGS', [ { key: 'android.provider.extra.APP_PACKAGE', value: 'fr.amicaleinsat.application', }, ] );
there's no error message from the linter but the settings page doesn't open anymore.
I'll have a look at the ios behavior when I get back to Tls. This will probably require some "platform is android"-like conditional.
Solves #67.
The code works but the linter complains about syntax here
https://github.com/ClubInfoInsaT/application-amicale/blob/49acb69cb7f49bc5f0eb7c362d15350b086096f9/src/screens/Other/Settings/SettingsScreen.tsx#L325-L333
By changing the syntax like this,
there's no error message from the linter but the settings page doesn't open anymore.