<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: devesh kumar singh</title>
    <description>The latest articles on Forem by devesh kumar singh (@iamdeveshsingh).</description>
    <link>https://forem.com/iamdeveshsingh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3489747%2F7f67aeff-74b6-4ed6-9ff8-06f198b51c6f.png</url>
      <title>Forem: devesh kumar singh</title>
      <link>https://forem.com/iamdeveshsingh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/iamdeveshsingh"/>
    <language>en</language>
    <item>
      <title>React native Expo android apk</title>
      <dc:creator>devesh kumar singh</dc:creator>
      <pubDate>Fri, 12 Sep 2025 05:27:30 +0000</pubDate>
      <link>https://forem.com/iamdeveshsingh/react-native-expo-android-apk-1l76</link>
      <guid>https://forem.com/iamdeveshsingh/react-native-expo-android-apk-1l76</guid>
      <description>&lt;p&gt;&lt;strong&gt;In eas.json file&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;this is only for expo apk for production only&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "cli": {
    "version": "&amp;gt;= 16.18.0",
    "appVersionSource": "remote"
  },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    },
    "preview": {
      "distribution": "internal"
    },
    "production": {
      "autoIncrement": true,
      "android": {
        "buildType": "apk"
      }
    },
    "production-apk": {
      "android": {
        "buildType": "apk",
        "gradleCommand": ":app:assembleRelease"
      }
    }
  },
  "submit": {
    "production": {}
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;For creating the ios devlopment build run in semulator&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; npx expo prebuild --platform ios --clean

# Then try building again
npx expo run:ios
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;apk file&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "cli": {
    "version": "&amp;gt;= 16.18.0",
    "appVersionSource": "remote"
  },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal",
      "ios": {
        "simulator": true
      }
    },
    "preview": {
      "distribution": "internal"
    },
    "production": {
      "autoIncrement": true,
      "android": {
        "buildType": "apk"
      },
      "ios": {
        "distribution": "store"
      }
    },
    "production-apk": {
      "android": {
        "buildType": "apk",
        "gradleCommand": ":app:assembleRelease"
      }
    }
  },
  "submit": {
    "production": {}
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>expo</category>
      <category>react</category>
      <category>reactnative</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Setup of react native cli 0.81</title>
      <dc:creator>devesh kumar singh</dc:creator>
      <pubDate>Fri, 12 Sep 2025 04:43:24 +0000</pubDate>
      <link>https://forem.com/iamdeveshsingh/setup-of-react-native-cli-081-3ja</link>
      <guid>https://forem.com/iamdeveshsingh/setup-of-react-native-cli-081-3ja</guid>
      <description>&lt;p&gt;&lt;strong&gt;1. Install Node.js and Watchman&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Make sure you have the latest version of Node.js installed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew &lt;span class="nb"&gt;install &lt;/span&gt;node
brew &lt;span class="nb"&gt;install &lt;/span&gt;watchman
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;2. Install React Native CLI globally&lt;/strong&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; react-native-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or use &lt;code&gt;npx&lt;/code&gt; without global install (recommended to avoid version conflicts):&lt;/p&gt;

&lt;p&gt;You don't need to install it globally; you can directly run with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx react-native init MyNewProject
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will scaffold the new project.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;3. Create a new React Native project&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx react-native init MyNewProject
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can specify a template like this if needed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx react-native init MyNewProject &lt;span class="nt"&gt;--template&lt;/span&gt; react-native-template-typescript
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;&lt;strong&gt;4. Navigate into the project directory&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;MyNewProject
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;&lt;strong&gt;5. Install dependencies (if needed)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yarn
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;✅ &lt;strong&gt;6. Run on Android&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Make sure you have Android Studio installed with SDK setup and emulator running.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx react-native run-android
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;&lt;strong&gt;7. Run on iOS (Mac only)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Make sure Xcode is installed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx react-native run-ios
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will start the simulator.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;8. Linking Native Modules (If Needed)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For libraries that require native code changes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx react-native &lt;span class="nb"&gt;link&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Though many libraries now use auto-linking and don't need this step.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;9. Debugging and Development&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use &lt;code&gt;react-native start&lt;/code&gt; to start the Metro bundler manually if it's not auto-running.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx react-native start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You can reload, debug, or use React DevTools.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;10. Build APK / IPA (Optional for release)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For Android:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;android
./gradlew assembleRelease
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For iOS:&lt;/p&gt;

&lt;p&gt;Open &lt;code&gt;ios/MyNewProject.xcworkspace&lt;/code&gt; in Xcode → Archive → Export.&lt;/p&gt;




&lt;h3&gt;
  
  
  Notes:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Use &lt;code&gt;npx&lt;/code&gt; for the latest React Native without globally installing.&lt;/li&gt;
&lt;li&gt;For full native capabilities, CLI is preferable over Expo.&lt;/li&gt;
&lt;li&gt;Keep SDKs updated regularly.&lt;/li&gt;
&lt;li&gt;On Windows, iOS build isn't supported unless using cloud services.&lt;/li&gt;
&lt;/ul&gt;




</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>reactnative</category>
    </item>
    <item>
      <title>hello guys i m app developer</title>
      <dc:creator>devesh kumar singh</dc:creator>
      <pubDate>Tue, 09 Sep 2025 12:47:39 +0000</pubDate>
      <link>https://forem.com/iamdeveshsingh/hello-guys-i-m-app-developer-58oc</link>
      <guid>https://forem.com/iamdeveshsingh/hello-guys-i-m-app-developer-58oc</guid>
      <description>&lt;p&gt;expo react native&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
