| Integration Needed | Details |
|---|---|
| Mini App Frontend | Coming soon |
Sample Request:
miniAppSdk.getSystemInfo()
.then((result) => {
if(result.success) {
console.log('Device information:', result.data);
}
else {
console.log('Error fetching code:', result.error, result.error?.message);
}
})Sample Response:
type DeviceInfoResponse = {
success: boolean,
error?: string,
data?: {
os_type: number,
is_emulator: boolean, // tentative for now, key may change
is_rooted: boolean, // tentative for now, key may change
wifi_bssid: string,
wifi_ssid: string,
brand: string,
model: string,
product: string,
uuid: string, // tentative for now, key may change
idfa: string, // tentative for now, key may change
idfv: string, // tentative for now, key may change
}
}- Data will be null in case of success = false, and vice versa.
- Error will be null in case of success = true, and vice versa.
This service only requires frontend implementation.