Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

storing and receiving FB

import { getDatabase, ref, onValue } from 'firebase/database';

function storeHighScore(userId, score) {
  const db = getDatabase();
  const reference = ref(db, 'users/' + userId);
  set(ref(db, 'users/' + userId), {
    highscore: score,
  });
}
Source by docs.expo.dev #
 
PREVIOUS NEXT
Tagged: #storing #receiving #FB
ADD COMMENT
Topic
Name
8+6 =