Alfred Sultson
Alfred Sultson
Hi @Robiullah2244 - the library does not provide listeners, but you can accomplish this with useState() instead. Here's a small example of it, where the displayed text & button are...
Yes, it is possible using either `printer.cashdraw(2)` or `printer.cashdraw(5)` (depending on your printer). Keep in mind to use this command BEFORE `printer.close()`.
Hey, @n-ii-ma, does this example fix the issue? ### App.tsx ``` import React from 'react'; import { View, Button, StyleSheet } from 'react-native'; import Sound from 'react-native-sound' Sound.setCategory('Playback'); var whoosh...
Hmm that is weird, it works on my Android device. What can you see in the Android Studio logcat when pressing the button to play the sound? (without having the...
You can solve it using the `useState()` hook, this way, you can display a loading screen until the asset has been loaded properly & then dismiss it. Also, wrap the...
You might be over-complicating things with `.release()`, try this instead: ``` useEffect(() => { if(loading) return if (hasOrders && isObjEmpty(acceptedOrder)) { Vibration.vibrate([1000, 1000], true); orderMusicAudio.play((success) => { if (!success) {...
To keep using **Vault** for providing project URL and anon key (without issues from `config.toml` setup [#3242] or `pgsodium`), we added an extra seed file: ```sql select vault.create_secret('local-anon-key', 'SUPABASE_ANON_KEY', 'Anonymous...