sweetpotato.functions.authentication_functions.STORE_DATA#
- sweetpotato.functions.authentication_functions.STORE_DATA: str = "_storeData = async (tokens) => {\n try {\n await AsyncStorage.setItem(\n 'access_token',\n tokens.access_token,\n );\n await AsyncStorage.setItem(\n 'refresh_token',\n tokens.refresh_token,\n );\n } catch (error) {\n console.log(error)\n }\n};"#
Data storage setting function for authentication.