IF Commons GitHub

logical/mobile

Written to: 2 requirements: 2 proved, 0 partly, 0 failing, 0 with no test recorded. 0003-estate-endpoints-readers FR-003, 0003-estate-endpoints-readers FR-004

Mobile apps from what they declare. An Android manifest gives the app (the package, the oldest system it runs on, whether it allows traffic in the clear) and an endpoint for each web address its deep links claim; an iOS property list (Info.plist) gives the app (the bundle identifier, the oldest system) and what App Transport Security allows: arbitrary loads set the app to allow the clear, and each exception domain that allows insecure loads is an endpoint in the clear. The app is linked to its endpoints (client-of). Permissions and components are not read.

import { importAndroid } from "./mobile.ts";
importAndroid("AndroidManifest.xml", '<manifest package="test.example.app"/>').assets.length; // 1

Source: commons/estate-endpoints/src/logical/mobile.ts

2 of 4 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

logical.importAndroidfunctionno test imports it
function importAndroid(source: string, text: string): Found

An Android manifest: the app and the endpoints its deep links claim.

logical.importIosfunctionno test imports it
function importIos(source: string, text: string): Found

An iOS Info.plist (as XML): the app and what App Transport Security allows.

importAndroidfunction
function importAndroid(source: string, text: string): Found

An Android manifest: the app and the endpoints its deep links claim.

Imported by 8 tests of the run (8 passed, 0 failed): the library's results

importIosfunction
function importIos(source: string, text: string): Found

An iOS Info.plist (as XML): the app and what App Transport Security allows.

Imported by 8 tests of the run (8 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.