You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
5.2 Secure Implementation Recommendations. Mobile Security 2026
#1588
Pin SPKI Hashes: Do not pin the leaf certificate itself (which changes frequently during standard certificate rotations, causing app outages). Instead, pin the Subject Public Key Info (SPKI) hash of the intermediate or leaf public key.
Backup Pins: Always include at least one backup pin (representing a standby Certificate Authority or intermediate key) to prevent bricking the app if the primary certificate needs emergency replacement.
Native Implementation:
iOS: Use declarative Network Session Pinning in Info.plist using the NSPinnedDomains key (supported natively since iOS 14). This operates safely inside the networking stack without manual delegation code.
Android: Declare a Network Security Configuration file (res/xml/network_security_config.xml) and specify the pins within <pin-set> elements. The system automatically enforces pinning for any HttpURLConnection or OkHttp client:
This is a maintainer FAQ for app-store-compliance, an open playbook and pre-submission guard for App Store and Google Play review. Run bash scripts/install.sh install, then run the guard on your project before you submit. Questions or a correction? Reply below.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Info.plistusing theNSPinnedDomainskey (supported natively since iOS 14). This operates safely inside the networking stack without manual delegation code.res/xml/network_security_config.xml) and specify the pins within<pin-set>elements. The system automatically enforces pinning for anyHttpURLConnectionor OkHttp client:Source section. MOBILE-SECURITY-2026.md, 5.2 Secure Implementation Recommendations.
This is a maintainer FAQ for app-store-compliance, an open playbook and pre-submission guard for App Store and Google Play review. Run
bash scripts/install.sh install, then run the guard on your project before you submit. Questions or a correction? Reply below.All reactions