Skip to content

A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.

update mobile template (#304)

Ameya Apte740b196a4561
diff --git a/plugins/mobile-apps/template/.gitignore b/plugins/mobile-apps/template/.gitignore
index 887ba783f..b22170375 100644
--- a/plugins/mobile-apps/template/.gitignore
+++ b/plugins/mobile-apps/template/.gitignore
@@ -10,6 +10,7 @@ node_modules/
# ── Expo / Metro ─────────────────────────────────────────────────────────────
.expo/
dist/
+dist-web/
web-build/
.tamagui/
@@ -17,6 +18,12 @@ web-build/
.env
.env*.local
+# ── Wrap build config (contains secrets — never commit) ──────────────────────
+wrap.config.json
+
+# ── Build output / vendor ────────────────────────────────────────────────────
+vendor/
+
# ── Native projects ──────────────────────────────────────────────────────────
# Regenerated by `npx expo prebuild --clean`
android/
diff --git a/plugins/mobile-apps/template/.powerapps-native/version.json b/plugins/mobile-apps/template/.powerapps-native/version.json
new file mode 100644
index 000000000..526346b37
--- /dev/null
+++ b/plugins/mobile-apps/template/.powerapps-native/version.json
@@ -0,0 +1,4 @@
+{
+ "schemaVersion": 1,
+ "templateVersion": 1
+}
\ No newline at end of file
diff --git a/plugins/mobile-apps/template/CUSTOMIZATION.md b/plugins/mobile-apps/template/CUSTOMIZATION.md
new file mode 100644
index 000000000..a73bdf1af
--- /dev/null
+++ b/plugins/mobile-apps/template/CUSTOMIZATION.md
@@ -0,0 +1,69 @@
+# Customize Your App Safely
+
+You can customize this app while continuing to receive template upgrades.
+
+## Change freely
+
+You can make any changes under:
+
+- `app/`
+- `src/`
+
+Add, edit, move, rename, or delete screens, components, services, styles, and
+other app code in these directories. `upgrade-template` never changes them.
+
+You can also add your own dependencies, scripts, assets, and other files. Custom
+dependencies are kept during upgrades, although incompatible packages may need
+to be updated for a newer Expo SDK.
+
+## Generated connector schemas
+
+Do not edit `src/generated/connectorSchemas.ts` manually. After adding or
+removing connectors, regenerate it with:
+
+```bash
+npm run generate-schemas
+```
+
+Commit the generated file with your app. Template upgrades never change it.
+
+## Be careful with root files
+
+JavaScript and configuration files in the project root may be updated by future
+template upgrades. Examples include:
+
+- `app.config.js`
+- `babel.config.js`
+- `metro.config.js`
+- `tamagui.config.ts`
+- `tsconfig.json`
+
+Keep changes to these files small and focused. If your changes overlap a future
+template update, the upgrader may create a `.rej` file that you must resolve
+manually.
+
+When a root file contains customization markers, edit only inside marked
+sections. Do not remove or rename comments that say `DO NOT REMOVE OR RENAME THE COMMENT`.
+Future template updates keep marked sections unchanged, which reduces upgrade conflicts.
+
+In `app.config.js`, use `CUSTOMER APP SETTINGS` for app identity, package names,
+icon, and version defaults. Use `CUSTOMIZATION` for additional Expo config
+overrides.
+
+Do not edit, move, or delete `.powerapps-native/version.json`. It records which
+template upgrades have been applied.
+
+The upgrader does not change `android/` or `ios/`. If you maintain native
+projects, update them separately when required.
+
+## Before upgrading
+
+1. Commit or back up your work.
+2. Preview the upgrade:
+
+ ```bash
+ npx --package @microsoft/power-apps-native-host@latest upgrade-template --dry-run
+ ```
+
+3. Review warnings and run the upgrade.
+4. Resolve any `.rej` files, then test your app.
\ No newline at end of file
diff --git a/plugins/mobile-apps/template/README.md b/plugins/mobile-apps/template/README.md
index 168255026..1b1cdbf0b 100644
--- a/plugins/mobile-apps/template/README.md
+++ b/plugins/mobile-apps/template/README.md
@@ -1,6 +1,8 @@
# Power Apps Standalone App Template
-This template is an Expo, React Native, and TypeScript starter for building a standalone mobile app that connects to Power Platform data through `@microsoft/power-apps-native-host`.
+This template is an Expo, React Native, and TypeScript starter for building an
+iOS, Android, or hosted web app that connects to Power Platform data through
+`@microsoft/power-apps-native-host`.
## Requirements
@@ -28,14 +30,9 @@ connector wiring.
For GitHub Copilot in VS Code:
- 1. Open the Command Palette.
- 2. Run **Chat: Install Plugin From Source**.
- 3. Paste the mobile-app plugin manifest URL:
-
- ```text
- https://github.com/microsoft/power-platform-skills/tree/main/plugins/mobile-apps/.plugin/plugin.json
- ```
-
+ 1. Open the Extensions view.
+ 2. Enter `@agentplugin` in the search box.
+ 3. Find the Power Platform mobile-app plugin and select **Install**.
4. Reload VS Code if prompted, then open Copilot Chat in Agent mode.
Alternatively, install it from a terminal with GitHub Copilot CLI:
@@ -99,6 +96,62 @@ connector wiring.
- Play store: (coming soon)
- App center: https://install.appcenter.ms/orgs/appmagic-player-x6ys/apps/rn-dev-player-preview/distribution_groups/public_distribution/releases
+## Upgrade the Native Host
+
+From the app directory, preview the next template upgrade:
+
+```bash
+npx --package @microsoft/power-apps-native-host@latest upgrade-template --dry-run
+```
+
+Apply it:
+
+```bash
+npx --package @microsoft/power-apps-native-host@latest upgrade-template
+```
+
+Each run upgrades one template version, installs compatible dependencies, and
+runs Expo validation. If another version is available, run the command again.
+The current version is stored in `.powerapps-native/version.json`; do not edit
+this file.
+
+Apps created before this version file existed must specify their source template
+version:
+
+```bash
+npx --package @microsoft/power-apps-native-host@latest \
+ upgrade-template --from-version 1
+```
+
+The upgrader never changes `app/`, `src/`, `android/`, or `ios/`. If a root
+configuration change conflicts with your customization, it writes a `.rej` file
+for manual resolution. Failed validation restores files managed by the upgrade.
+
+Supported package managers are npm, pnpm, and Bun. See
+[CUSTOMIZATION.md](CUSTOMIZATION.md) before changing root configuration files.
+
+## Web
+
+Start the browser app:
+
+```bash
+npm run web
+```
+
+The command opens **Local Play** in your default browser and embeds the local
+Expo app in the hosted Power Apps player. Use the same browser profile as your
+Power Platform tenant.
+
+Web builds are supported in Code Apps. They are also supported in Power Pages
+when the app uses Dataverse only.
+
+To publish as a Code App, run `npm run bundle:web`, set `appType` to `CodeApp`
+and `distPath` to `dist-web` in `power.config.json`, then run
+`npx power-apps push`.
+
+To publish to Power Pages, run `npm run bundle:web -- powerpages`, then use the Power Pages
+skills to upload the generated `dist-web` directory.
+
## License and notices
This template is provided under the license in `LICENSE`.
diff --git a/plugins/mobile-apps/template/app.config.js b/plugins/mobile-apps/template/app.config.js
index 470b53a29..b136a5212 100644
--- a/plugins/mobile-apps/template/app.config.js
+++ b/plugins/mobile-apps/template/app.config.js
@@ -4,20 +4,41 @@
const IS_DEV_CLIENT = process.env.DEV_CLIENT === 'true';
+// CUSTOMER APP SETTINGS START - DO NOT REMOVE OR RENAME THE COMMENT
+// App identity, package names, icon, and version defaults are customer-owned.
const APP_NAME = process.env.APP_DISPLAY_NAME || 'Power Apps Standalone App';
const APP_SLUG = process.env.APP_SLUG || 'powerapps-standalone-app';
const APP_SCHEME = process.env.APP_SCHEME || APP_SLUG;
const ANDROID_PACKAGE = process.env.ANDROID_PACKAGE || 'com.contoso.powerappsapp';
const IOS_BUNDLE_IDENTIFIER = process.env.IOS_BUNDLE_IDENTIFIER || 'com.contoso.powerappsapp';
+// App icon — set APP_ICON_PATH to a 1024×1024 PNG before running expo prebuild.
+// Expo uses this single image to generate all required icon sizes for both
+// Android (adaptive icon foreground + legacy) and iOS (all @1x/@2x/@3x slots).
+const APP_ICON_PATH = process.env.APP_ICON_PATH || null;
+
+// Version — set by wrap.js from wrap.config.json; falls back to defaults for dev.
+const APP_VERSION = process.env.APP_VERSION || '1.0.0';
+const APP_VERSION_CODE = parseInt(process.env.APP_VERSION_CODE || '1', 10);
+// CUSTOMER APP SETTINGS END - DO NOT REMOVE OR RENAME THE COMMENT
+
+// CUSTOMIZATION START - DO NOT REMOVE OR RENAME THE COMMENT
+// Add Expo config overrides in this function only.
+function customizeExpoConfig(config) {
+ return config;
+}
+// CUSTOMIZATION END - DO NOT REMOVE OR RENAME THE COMMENT
/** @type {import('expo/config').ExpoConfig} */
-module.exports = ({ config }) => ({
+module.exports = ({ config }) => customizeExpoConfig({
...config,
name: APP_NAME,
slug: APP_SLUG,
- version: '1.0.0',
+ version: APP_VERSION,
scheme: APP_SCHEME,
+ // Icon — only set when APP_ICON_PATH is provided (production builds via wrap.js).
+ // Expo generates all required sizes from this single 1024×1024 PNG.
+ ...(APP_ICON_PATH ? { icon: APP_ICON_PATH } : {}),
web: {
bundler: 'metro',
output: 'static',
@@ -46,6 +67,16 @@ module.exports = ({ config }) => ({
'@react-native-community/datetimepicker'],
android: {
package: ANDROID_PACKAGE,
+ versionCode: APP_VERSION_CODE,
+ // Adaptive icon — uses the same source image with a white background.
+ // Override adaptiveIcon.backgroundColor in app.config.js if your icon
+ // needs a different background (e.g. a branded colour).
+ ...(APP_ICON_PATH ? {
+ adaptiveIcon: {
+ foregroundImage: APP_ICON_PATH,
+ backgroundColor: '#ffffff',
+ },
+ } : {}),
},
ios: {
supportsTablet: true,
@@ -60,19 +91,9 @@ module.exports = ({ config }) => ({
'msauthv2',
'msauthv3',
// msauth.<bundleId> for broker - downstream packaging can add an
- // app-specific variant to CFBundleURLTypes when needed, while the
+ // bundle-specific variant to CFBundleURLTypes when needed, while the
// generic msauthv2/v3 entries here cover SDK detection.
],
- // IntuneMAMSettings — read at runtime by the host auth bridge.
- // Downstream packaging can patch ADALClientId and ADALRedirectUri here
- // via `plutil -replace IntuneMAMSettings.*`.
- // Placeholder values are replaced during packaging; the app falls back to
- // auth.config.json values when a placeholder tag is still present.
- IntuneMAMSettings: {
- ADALClientId: 'ADAL_CLIENT_ID_TAG',
- ADALRedirectUri: 'ADAL_REDIRECT_URI_TAG',
- ADALTenantId: 'ADAL_TENANT_ID_TAG',
- },
},
},
});
diff --git a/plugins/mobile-apps/template/app/_layout.tsx b/plugins/mobile-apps/template/app/_layout.tsx
index d89700d7b..f1a9439a4 100644
--- a/plugins/mobile-apps/template/app/_layout.tsx
+++ b/plugins/mobile-apps/template/app/_layout.tsx
@@ -3,6 +3,7 @@ import { StatusBar } from 'expo-status-bar';
import { PowerAppsProvider } from '@microsoft/power-apps-native-host';
import authConfig from '../auth.config.json';
+import tamaguiConfig from '../tamagui.config';
// @ts-ignore - power.config.json is auto-generated at build time
import powerConfig from '../power.config.json';
// @ts-ignore - connectorSchemas is auto-generated at build time
@@ -14,6 +15,7 @@ export default function RootLayout() {
msalConfig={authConfig.msal}
powerConfig={powerConfig}
schemaMap={schemaMap}
+ tamaguiConfig={tamaguiConfig}
>
<StatusBar style="auto" />
<Slot />
diff --git a/plugins/mobile-apps/template/app/index.tsx b/plugins/mobile-apps/template/app/index.tsx
index a5e650c0f..3ecf3c56c 100644
--- a/plugins/mobile-apps/template/app/index.tsx
+++ b/plugins/mobile-apps/template/app/index.tsx
@@ -12,7 +12,7 @@ export default function Index() {
if (isLoading) {
return (
- <View flex={1} alignItems="center" justifyContent="center">
+ <View flex={1} items="center" justify="center">
<ActivityIndicator size="large" />
</View>
);
diff --git a/plugins/mobile-apps/template/app/login.tsx b/plugins/mobile-apps/template/app/login.tsx
index ddcbd9f9f..2cc7cdccb 100644
--- a/plugins/mobile-apps/template/app/login.tsx
+++ b/plugins/mobile-apps/template/app/login.tsx
@@ -7,10 +7,13 @@ import {
import { MaterialCommunityIcons } from '@expo/vector-icons';
import { Redirect } from 'expo-router';
import { useAuth } from '@microsoft/power-apps-native-host';
+// @ts-ignore - power.config.json is auto-generated at build time
+import powerConfig from '../power.config.json';
export default function LoginScreen() {
const { isLoading, isAuthReady, isSignedIn, signIn, error } = useAuth();
const busy = isLoading || !isAuthReady;
+ const appName = powerConfig.appDisplayName || 'Power Apps Standalone';
if (isSignedIn) {
return <Redirect href="/(app)/home" />;
@@ -19,43 +22,41 @@ export default function LoginScreen() {
return (
<YStack
flex={1}
- alignItems="center"
- justifyContent="center"
- paddingHorizontal="$6"
- backgroundColor="$background"
+ items="center"
+ justify="center"
+ px="$6"
+ bg="$background"
gap="$4"
>
<YStack
- width={72}
- height={72}
- borderRadius={18}
- backgroundColor="$blue10"
- alignItems="center"
- justifyContent="center"
- marginBottom="$2"
+ style={{ width: 72, height: 72, borderRadius: 18 }}
+ bg="$blue10"
+ items="center"
+ justify="center"
+ mb="$2"
>
<MaterialCommunityIcons name="microsoft-powerpoint" size={34} color="white" />
</YStack>
- <Text fontSize="$8" fontWeight="700" color="$color12" textAlign="center">
- Power Apps Standalone
+ <Text fontSize="$8" fontWeight="700" color="$color12" text="center">
+ {appName}
</Text>
- <Text fontSize="$4" color="$color10" textAlign="center" lineHeight="$5">
- Sign in to connect this app to Power Platform data.
+ <Text fontSize="$4" color="$color10" style={{ textAlign: 'center', lineHeight: 22 }}>
+ Sign in with your work or school email account
</Text>
{error ? (
- <Text color="$red10" fontSize="$3" textAlign="center">
+ <Text color="$red10" fontSize="$3" text="center">
{error.message}
</Text>
) : null}
<Button
size="$5"
- width="100%"
- backgroundColor="$blue10"
+ style={{ width: '100%' }}
+ bg="$blue10"
color="white"
fontWeight="600"
onPress={signIn}
diff --git a/plugins/mobile-apps/template/app/oauth-callback.tsx b/plugins/mobile-apps/template/app/oauth-callback.tsx
index 7f4532d77..cce871354 100644
--- a/plugins/mobile-apps/template/app/oauth-callback.tsx
+++ b/plugins/mobile-apps/template/app/oauth-callback.tsx
@@ -1,21 +1,21 @@
-import { useEffect } from 'react';
-import { ActivityIndicator, View } from 'react-native';
-import * as WebBrowser from 'expo-web-browser';
-import { useRouter } from 'expo-router';
-
-WebBrowser.maybeCompleteAuthSession();
-
-export default function OAuthCallbackScreen() {
- const router = useRouter();
-
- useEffect(() => {
- router.replace('/(app)/home');
- }, []);
-
- return (
- <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
- <ActivityIndicator />
- </View>
- );
-}
-
+import { useEffect } from 'react';
+import { ActivityIndicator, View } from 'react-native';
+import { useRouter } from 'expo-router';
+import { completePowerAppsAuthSession } from '@microsoft/power-apps-native-host';
+
+completePowerAppsAuthSession();
+
+export default function OAuthCallbackScreen() {
+ const router = useRouter();
+
+ useEffect(() => {
+ router.replace('/(app)/home');
+ }, [router]);
+
+ return (
+ <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
+ <ActivityIndicator />
+ </View>
+ );
+}
+
diff --git a/plugins/mobile-apps/template/babel.config.js b/plugins/mobile-apps/template/babel.config.js
index 548b393a3..cd82081ec 100644
--- a/plugins/mobile-apps/template/babel.config.js
+++ b/plugins/mobile-apps/template/babel.config.js
@@ -1,10 +1,17 @@
-module.exports = function (api) {
- api.cache(true);
- return {
- presets: ['babel-preset-expo'],
- plugins: [
- // Must be last
- 'react-native-reanimated/plugin',
- ],
- };
-};
+// CUSTOMIZATION START - DO NOT REMOVE OR RENAME THE COMMENT
+// Add Babel presets and plugins to these arrays only.
+const customPresets = [];
+const customPlugins = [];
+// CUSTOMIZATION END - DO NOT REMOVE OR RENAME THE COMMENT
+
+module.exports = function (api) {
+ api.cache(true);
+ return {
+ presets: ['babel-preset-expo', ...customPresets],
+ plugins: [
+ ...customPlugins,
+ // Must be last
+ 'react-native-reanimated/plugin',
+ ],
+ };
+};
diff --git a/plugins/mobile-apps/template/metro.config.js b/plugins/mobile-apps/template/metro.config.js
index 2d83fe8cd..f4e13556e 100644
--- a/plugins/mobile-apps/template/metro.config.js
+++ b/plugins/mobile-apps/template/metro.config.js
@@ -1,5 +1,12 @@
const { getDefaultConfig } = require('expo/metro-config');
+// CUSTOMIZATION START - DO NOT REMOVE OR RENAME THE COMMENT
+// Add Metro config changes in this function only.
+function customizeMetroConfig(config) {
+ return config;
+}
+// CUSTOMIZATION END - DO NOT REMOVE OR RENAME THE COMMENT
+
const config = getDefaultConfig(__dirname);
config.resolver.sourceExts = [...config.resolver.sourceExts, 'mjs'];
@@ -19,9 +26,10 @@ config.server = {
// Force a single copy of these regardless of where the importing module lives.
const _defaultResolver = config.resolver.resolveRequest;
config.resolver.resolveRequest = (context, moduleName, platform) => {
+ const isNodeRenderer = context.customResolverOptions?.environment === 'node';
if (
- moduleName === 'react' ||
- moduleName === 'react-native' ||
+ (!isNodeRenderer && (moduleName === 'react' || moduleName.startsWith('react/'))) ||
+ (moduleName === 'react-native' && platform !== 'web') ||
moduleName.startsWith('@babel/runtime')
) {
return {
@@ -36,4 +44,4 @@ config.resolver.resolveRequest = (context, moduleName, platform) => {
: context.resolveRequest(context, moduleName, platform);
};
-module.exports = config;
+module.exports = customizeMetroConfig(config);
diff --git a/plugins/mobile-apps/template/package.json b/plugins/mobile-apps/template/package.json
index 76d914adf..dc2a8fe05 100644
--- a/plugins/mobile-apps/template/package.json
+++ b/plugins/mobile-apps/template/package.json
@@ -4,24 +4,30 @@
"main": "expo-router/entry",
"scripts": {
"dev": "expo start",
+ "web": "power-apps-web",
"generate-schemas": "generate-connector-schemas",
"predev": "npm run generate-schemas",
- "type-check": "tsc --noEmit"
+ "type-check": "tsc --noEmit",
+ "build:android": "wrap android",
+ "build:ios": "wrap ios",
+ "bundle:android": "js-bundle android",
+ "bundle:ios": "js-bundle ios",
+ "bundle:web": "js-bundle web"
},
"dependencies": {
"@expo/metro-runtime": "55.0.11",
"@expo/vector-icons": "15.1.1",
- "@microsoft/power-apps": "1.2.2",
- "@microsoft/power-apps-native-host": "^0.2.20",
+ "@microsoft/power-apps": "1.2.7",
+ "@microsoft/power-apps-native-host": "^0.2.25",
"@microsoft/power-apps-native-offline": "^0.1.3",
"@react-native-async-storage/async-storage": "^2.1.2",
"@react-native-community/datetimepicker": "8.6.0",
"@react-native-community/netinfo": "11.5.2",
- "@tamagui/animations-react-native": "1.144.4",
- "@tamagui/config": "1.144.4",
- "@tamagui/core": "1.144.4",
- "@tamagui/portal": "1.144.4",
- "@tamagui/toast": "1.144.4",
+ "@tamagui/animations-react-native": "2.4.5",
+ "@tamagui/config": "2.4.5",
+ "@tamagui/core": "2.4.5",
+ "@tamagui/portal": "2.4.5",
+ "@tamagui/toast": "2.4.5",
"@tanstack/react-query": "5.62.0",
"burnt": "0.12.2",
"expo": "55.0.26",
@@ -72,13 +78,14 @@
"react-native-reanimated": "4.2.1",
"react-native-safe-area-context": "5.6.2",
"react-native-screens": "4.23.0",
+ "react-native-web": "^0.21.2",
"react-native-worklets": "0.7.4",
- "tamagui": "1.144.4",
+ "tamagui": "2.4.5",
"zod": "3.24.0"
},
"devDependencies": {
"@babel/core": "7.29.6",
- "@tamagui/babel-plugin": "1.144.4",
+ "@tamagui/babel-plugin": "2.4.5",
"@types/react": "19.2.14",
"babel-preset-expo": "55.0.18",
"typescript": "5.9.3"
diff --git a/plugins/mobile-apps/template/power-apps-env.d.ts b/plugins/mobile-apps/template/power-apps-env.d.ts
new file mode 100644
index 000000000..bffbff52c
--- /dev/null
+++ b/plugins/mobile-apps/template/power-apps-env.d.ts
@@ -0,0 +1,8 @@
+/** Type declarations for generated Power Apps configuration files. */
+
+import type { AuthConfig } from '@microsoft/power-apps-native-host';
+
+declare module '*/auth.config.json' {
+ const value: AuthConfig;
+ export default value;
+}
\ No newline at end of file
diff --git a/plugins/mobile-apps/template/src/global.d.ts b/plugins/mobile-apps/template/src/global.d.ts
deleted file mode 100644
index feb6b6380..000000000
--- a/plugins/mobile-apps/template/src/global.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Type declarations for JSON config files imported in this project.
- *
- * auth.config.json is the single source of truth for all auth and
- * app-identity settings. TypeScript will use this declaration to type-check
- * every import of that file.
- */
-
-import type { AuthConfig } from '@microsoft/power-apps-native-host';
-
-declare module '*/auth.config.json' {
- const value: AuthConfig;
- export default value;
-}
diff --git a/plugins/mobile-apps/template/tamagui.config.ts b/plugins/mobile-apps/template/tamagui.config.ts
index 51bd4b7a0..b249fc960 100644
--- a/plugins/mobile-apps/template/tamagui.config.ts
+++ b/plugins/mobile-apps/template/tamagui.config.ts
@@ -1,15 +1,24 @@
-import { createTamagui } from '@tamagui/core';
-import { config } from '@tamagui/config/v3';
-
-/**
- * Tamagui configuration.
- * @tamagui/config/v3 provides a fully-configured design system including
- * tokens, themes (light/dark), fonts, animations, and shorthands.
- */
-export const tamaguiConfig = createTamagui(config);
-export default tamaguiConfig;
-
-export type Conf = typeof tamaguiConfig;
-declare module '@tamagui/core' {
- interface TamaguiCustomConfig extends Conf {}
-}
+import { createTamagui } from '@tamagui/core';
+import { defaultConfig } from '@tamagui/config/v5';
+import { animations } from '@tamagui/config/v5-rn';
+
+// CUSTOMIZATION START - DO NOT REMOVE OR RENAME THE COMMENT
+// Replace or extend this Tamagui config value only.
+const customConfig = {
+ ...defaultConfig,
+ animations,
+};
+// CUSTOMIZATION END - DO NOT REMOVE OR RENAME THE COMMENT
+
+/**
+ * Tamagui configuration.
+ * @tamagui/config/v5 provides a fully-configured design system including
+ * tokens, themes (light/dark), fonts, animations, and shorthands.
+ */
+export const tamaguiConfig = createTamagui(customConfig);
+export default tamaguiConfig;
+
+export type Conf = typeof tamaguiConfig;
+declare module 'tamagui' {
+ interface TamaguiCustomConfig extends Conf {}
+}
diff --git a/plugins/mobile-apps/template/wrap.config.json.example b/plugins/mobile-apps/template/wrap.config.json.example
new file mode 100644
index 000000000..4ba7b8af3
--- /dev/null
+++ b/plugins/mobile-apps/template/wrap.config.json.example
@@ -0,0 +1,29 @@
+{
+ "bundleIdentifier": "com.contoso.myapp",
+ "displayName": "My Power App",
+ "version": "1.0.0",
+ "versionCode": 1,
+ "iconPath": "./assets/icon.png",
+
+ "msal": {
+ "clientId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "tenantId": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy"
+ },
+
+ "ios": {
+ "simulator": false,
+ "signing": {
+ "exportMethod": "ad-hoc",
+ "teamId": "ABCD1234EF"
+ }
+ },
+
+ "android": {
+ "keystorePath": "./release.jks",
+ "keystorePassword": "changeme",
+ "keyAlias": "release",
+ "keyPassword": "changeme"
+ },
+
+ "outputPath": "./dist"
+}