agentic-mobile-kit 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/init.js +4 -3
  2. package/package.json +1 -1
package/lib/init.js CHANGED
@@ -179,7 +179,7 @@ function createApp(cwd, kind, { run = tool, log = console.log, pods = process.pl
179
179
  // the tools commit only in a repository they create; init needs everything committed
180
180
  commit(own ? 'Initial commit' : 'Add the files that were already in the folder');
181
181
  newAppDefaults(cwd, kind, { run, log });
182
- commit('Support tablets and landscape; stricter TypeScript with @/ imports; an error boundary');
182
+ commit('Support tablets and landscape; stricter TypeScript with @/ imports; an error boundary; no empty location permission text');
183
183
  // the first pod install changes the Xcode project and Info.plist: a commit of its own keeps that out of the first feature
184
184
  if (kind === 'bare' && pods) {
185
185
  log('Installing the iOS pods\n');
@@ -229,7 +229,8 @@ function newAppDefaults(cwd, kind, { run, log }) {
229
229
  }
230
230
  return;
231
231
  }
232
- // bare: iPhones turn too; iPads already do, and Android doesn't lock
232
+ // bare: iPhones turn too; iPads already do, and Android doesn't lock. The template's location permission has an
233
+ // empty text, which release-check warns about: a new app doesn't ask for location, and one that will writes its own
233
234
  const plist = (fs.existsSync(path.join(cwd, 'ios')) ? fs.readdirSync(path.join(cwd, 'ios')) : [])
234
235
  .map(d => `ios/${d}/Info.plist`).find(f => !/Tests\//.test(f) && fs.existsSync(path.join(cwd, f)));
235
236
  if (plist) {
@@ -237,7 +238,7 @@ function newAppDefaults(cwd, kind, { run, log }) {
237
238
  if (items.includes('Landscape')) return m;
238
239
  const indent = (items.match(/\n[ \t]*(?=<string>)/) || ['\n\t\t'])[0];
239
240
  return `${open}${items}${indent}<string>UIInterfaceOrientationLandscapeLeft</string>${indent}<string>UIInterfaceOrientationLandscapeRight</string>${close}`;
240
- }));
241
+ }).replace(/\n[ \t]*<key>NSLocationWhenInUseUsageDescription<\/key>\s*<string>\s*<\/string>/, ''));
241
242
  }
242
243
  // "@/" imports: the Babel plugin rewrites them for Metro and Jest, tsconfig's paths for the type checker
243
244
  const babel = readIf(path.join(cwd, 'babel.config.js'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-mobile-kit",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "One setup for AI-assisted development of React Native apps, bare or Expo: shared rules and workflows for Claude Code, Codex and Antigravity, git hooks, device checks with screenshots, and release tooling for the App Store and Google Play.",
5
5
  "license": "MIT",
6
6
  "author": "prakashpro1",