A library for generating native app code from JavaScript config through Expo config plugins
Create a config helper that prepares an iOS project for secure networking and shared credentials by updating Info.plist entries and entitlements in one pass.
urlScheme set to tileapp and Info.plist already listing existing under CFBundleURLSchemes, the resulting URL types include both existing and tileapp with no duplicates added. @testallowInsecureDomains set to ["dev.api.test"], it keeps NSAllowsArbitraryLoads false and adds an NSExceptionDomains entry for dev.api.test that allows insecure HTTP while leaving other domains untouched. @testassociatedDomains of ["links.example.com"], an empty entitlements file gains com.apple.developer.associated-domains with applinks:links.example.com, and existing values under the key remain if present. @testteamId is ABCD1234 and keychainGroup is shared.group, the entitlements include ABCD1234.shared.group in keychain-access-groups while preserving any preexisting groups. @test@generates
export type IosSecurityOptions = {
urlScheme: string;
associatedDomains: string[];
keychainGroup: string;
teamId: string;
allowInsecureDomains?: string[];
};
export function withIosSecurity(config: unknown, options: IosSecurityOptions): unknown;Provides utilities to read and update iOS Info.plist and entitlements when applying Expo config changes.
tessl i tessl/npm-expo--config-plugins@11.0.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10