API Reference

Complete documentation for all 30+ Bridge API actions. Click any action to expand its details.

Quick Start Patterns

Pattern 1: Auth + User Data
javascript
BooAppSDK.whenReady().then(async () => {
  const { token } = await BooAppSDK.getAuthToken();
  const user = await BooAppSDK.getUserInfo();
  // Use token for your backend API calls
});
Pattern 2: Pet Data Access
javascript
const pet = await BooAppSDK.getPetInfo();
const allPets = await BooAppSDK.getAllPets();
allPets.forEach(p => console.log(p.petName, p.petBreed));
Pattern 3: Camera + Share
javascript
const photo = await BooAppSDK.openCamera({
  maxWidth: 1024, quality: 85, returnBase64: true
});
if (photo) {
  await BooAppSDK.shareText('Check out this photo!');
}

Auth & User

4

Authentication and user profile access

Pet

2

Pet information retrieval

Media

6

Camera, gallery, and file access

Location

1

GPS and geolocation

Device & Haptics

3

Device info, network, and haptic feedback

UI

3

Toast, alert, and confirm dialogs

Share & Navigation

5

Share content and navigate within the app

Utilities

10

Scanner, clipboard, storage, biometrics, and notifications