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
4Authentication and user profile access
Pet
2Pet information retrieval
Media
6Camera, gallery, and file access
Location
1GPS and geolocation
Device & Haptics
3Device info, network, and haptic feedback
UI
3Toast, alert, and confirm dialogs
Share & Navigation
5Share content and navigate within the app
Utilities
10Scanner, clipboard, storage, biometrics, and notifications