<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Iskandar on Medium]]></title>
        <description><![CDATA[Stories by Iskandar on Medium]]></description>
        <link>https://medium.com/@alexawp121109?source=rss-ff1efb76de8e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*rp9yHxWHV5hZ22UL</url>
            <title>Stories by Iskandar on Medium</title>
            <link>https://medium.com/@alexawp121109?source=rss-ff1efb76de8e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 23:30:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alexawp121109/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Publishing React Native (Expo & CLI) Apps to Google Play and App Store — Step-by-Step Guide]]></title>
            <link>https://medium.com/@alexawp121109/publishing-react-native-expo-cli-apps-to-google-play-and-app-store-step-by-step-guide-2fbcda4d67d4?source=rss-ff1efb76de8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fbcda4d67d4</guid>
            <dc:creator><![CDATA[Iskandar]]></dc:creator>
            <pubDate>Wed, 12 Nov 2025 07:38:37 GMT</pubDate>
            <atom:updated>2025-11-12T07:40:15.775Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dak3Y_Zg32ssKmhgR23Ung.png" /></figure><h3>Publishing React Native (Expo &amp; CLI) Apps to Google Play and App Store — Step-by-Step Guide</h3><p>Many developers confidently build React Native apps, but the real challenge begins when it’s time to publish them. Google Play and App Store have different requirements, signing methods, formats, and checklists.</p><p>Here’s a complete step-by-step process that will help you release your app smoothly — both with Expo (EAS) and React Native CLI.</p><h3>🧩 Project Preparation</h3><h3>1️⃣ Identifiers</h3><ul><li>Android: applicationId (e.g. com.company.app)</li><li>iOS: Bundle Identifier (e.g. com.company.app)</li></ul><h3>2️⃣ Versioning</h3><ul><li>Android:</li><li>iOS:</li></ul><h3>3️⃣ Assets</h3><ul><li>Icon: 512×512 (Android), 1024×1024 (iOS)</li><li>Splash screen: 1242×2436 or higher</li><li>Screenshots for store listing</li><li>Privacy Policy URL (mandatory)</li></ul><h3>4️⃣ Permissions</h3><ul><li>Android: only what’s required (CAMERA, LOCATION)</li><li>iOS: NSCameraUsageDescription, NSLocationWhenInUseUsageDescription, etc.</li></ul><h3>5️⃣ Store requirements</h3><ul><li>Google Play: targetSdkVersion ≥ 35</li><li>App Store: Privacy Manifest required (since February 2025)</li></ul><h3>⚙️ Option 1 — Expo (EAS Build / Submit)</h3><h3>Step 1. Install and login</h3><p>bash</p><pre>npm i -g eas-cli<br>eas login</pre><h3>Step 2. Configure app.json / app.config.js</h3><p>json</p><pre>{<br>  &quot;expo&quot;: {<br>    &quot;name&quot;: &quot;MyApp&quot;,<br>    &quot;slug&quot;: &quot;myapp&quot;,<br>    &quot;version&quot;: &quot;1.0.0&quot;,<br>    &quot;ios&quot;: {<br>      &quot;bundleIdentifier&quot;: &quot;com.company.myapp&quot;,<br>      &quot;buildNumber&quot;: &quot;1&quot;<br>    },<br>    &quot;android&quot;: {<br>      &quot;package&quot;: &quot;com.company.myapp&quot;,<br>      &quot;versionCode&quot;: 1<br>    },<br>    &quot;icon&quot;: &quot;./assets/icon.png&quot;,<br>    &quot;splash&quot;: {<br>      &quot;image&quot;: &quot;./assets/splash.png&quot;,<br>      &quot;resizeMode&quot;: &quot;contain&quot;<br>    },<br>    &quot;permissions&quot;: []<br>  }<br>}</pre><h3>Step 3. Create eas.json</h3><p>json</p><pre>{<br>  &quot;cli&quot;: {<br>    &quot;version&quot;: &quot;&gt;= 12.0.0&quot;<br>  },<br>  &quot;build&quot;: {<br>    &quot;android&quot;: {<br>      &quot;production&quot;: {<br>        &quot;workflow&quot;: &quot;managed&quot;,<br>        &quot;autoIncrement&quot;: true<br>      }<br>    },<br>    &quot;ios&quot;: {<br>      &quot;production&quot;: {<br>        &quot;workflow&quot;: &quot;managed&quot;,<br>        &quot;autoIncrement&quot;: &quot;version&quot;<br>      }<br>    }<br>  },<br>  &quot;submit&quot;: {<br>    &quot;android&quot;: {<br>      &quot;track&quot;: &quot;internal&quot;<br>    },<br>    &quot;ios&quot;: {<br>      &quot;releaseTrack&quot;: &quot;TESTFLIGHT&quot;<br>    }<br>  }<br>}</pre><h3>Step 4. Configure credentials</h3><p>bash</p><pre>eas build:configure</pre><ul><li>For Android, choose Play App Signing (more secure than storing keystore)</li><li>For iOS, EAS will automatically generate certificates and provisioning profiles</li></ul><h3>Step 5. Build</h3><p>bash</p><pre>eas build -p android --profile production<br>eas build -p ios --profile production</pre><ul><li>Android → .aab</li><li>iOS → .ipa</li></ul><h3>Step 6. Submit to stores</h3><p>bash</p><pre>eas submit -p android --latest<br>eas submit -p ios --latest</pre><h3>Step 7. In Google Play Console</h3><ol><li>Create a new app</li><li>Fill out store listing (description, icon, screenshots)</li><li>Complete Data Safety and Content Rating forms</li><li>Upload .aab → Internal testing</li><li>Verify → promote to Production</li></ol><h3>Step 8. In App Store Connect</h3><ol><li>Create App ID and App Store listing</li><li>Add Privacy Manifest (PrivacyInfo.xcprivacy)</li><li>Accept the build in TestFlight</li><li>Fill App Privacy and age rating forms</li><li>Press Submit for Review</li></ol><h3>⚙️ Option 2 — React Native CLI (bare workflow)</h3><h3>Android (Google Play)</h3><h3>1. Configure Gradle</h3><p>In android/app/build.gradle:</p><p>gradle</p><pre>defaultConfig {<br>    applicationId &quot;com.company.app&quot;<br>    minSdkVersion 24<br>    targetSdkVersion 35<br>    versionCode 1<br>    versionName &quot;1.0.0&quot;<br>}</pre><h3>2. Signing</h3><p>Generate keystore:</p><p>bash</p><pre>keytool -genkey -v -keystore app-upload.keystore -alias upload \<br>  -keyalg RSA -keysize 2048 -validity 10000</pre><p>Add to gradle.properties:</p><p>text</p><pre>MYAPP_UPLOAD_STORE_FILE=app-upload.keystore<br>MYAPP_UPLOAD_KEY_ALIAS=upload<br>MYAPP_UPLOAD_STORE_PASSWORD=yourpass<br>MYAPP_UPLOAD_KEY_PASSWORD=yourpass</pre><p>In build.gradle:</p><p>gradle</p><pre>signingConfigs {<br>    release {<br>        storeFile file(MYAPP_UPLOAD_STORE_FILE)<br>        storePassword MYAPP_UPLOAD_STORE_PASSWORD<br>        keyAlias MYAPP_UPLOAD_KEY_ALIAS<br>        keyPassword MYAPP_UPLOAD_KEY_PASSWORD<br>    }<br>}</pre><h3>3. Build</h3><p>bash</p><pre>cd android<br>./gradlew bundleRelease</pre><p>.aab file → android/app/build/outputs/bundle/release/app-release.aab</p><h3>4. Publish</h3><p>Open Play Console → Internal testing → upload .aab → test → production.</p><h3>iOS (App Store)</h3><h3>1. Versions</h3><p>Open ios/AppName.xcodeproj → General → Version and Build.</p><h3>2. Privacy Manifest</h3><p>Add file PrivacyInfo.xcprivacy:</p><p>xml</p><pre>&lt;plist version=&quot;1.0&quot;&gt;<br>&lt;dict&gt;<br>    &lt;key&gt;NSPrivacyTracking&lt;/key&gt;<br>    &lt;false/&gt;<br>    &lt;key&gt;NSPrivacyCollectedDataTypes&lt;/key&gt;<br>    &lt;array/&gt;<br>    &lt;key&gt;NSPrivacyAccessedAPITypes&lt;/key&gt;<br>    &lt;array/&gt;<br>&lt;/dict&gt;<br>&lt;/plist&gt;</pre><h3>3. Archive</h3><p>In Xcode:</p><ul><li>Product → Archive</li><li>Distribute App → App Store Connect → Upload</li></ul><h3>4. In App Store Connect:</h3><ul><li>Accept build in TestFlight</li><li>Fill App Privacy, screenshots, and description</li><li>Submit for review</li></ul><h3>🚀 Final Checklist</h3><p>✅ Version and build numbers updated ✅ Target SDK = 35 ✅ Privacy Manifest added ✅ Data Safety completed ✅ Signing validated ✅ Screenshots and icons verified ✅ Tested on real devices</p><p>Releasing is not just about pressing “Build” — it’s about discipline, quality, and respect for your users.</p><p>#ReactNative #Expo #EASBuild #AppStore #GooglePlay #MobileDevelopment #Frontend #Android #iOS #ReleaseEngineering #CI_CD</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fbcda4d67d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Full Guide: Integrating Push Notifications in React Native + NestJS using Firebase & Notifee]]></title>
            <link>https://medium.com/@alexawp121109/full-guide-integrating-push-notifications-in-react-native-nestjs-using-firebase-notifee-c611a82f98e2?source=rss-ff1efb76de8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c611a82f98e2</guid>
            <dc:creator><![CDATA[Iskandar]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 05:22:34 GMT</pubDate>
            <atom:updated>2025-10-28T05:22:34.651Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KjK4tBmM5yiI03ZfElihZA.png" /></figure><p>A complete step-by-step guide to implementing push notifications in React Native with a custom NestJS backend — from FCM token registration to handling background messages and navigation when tapping a notification.</p><h3>📱 Why This Matters</h3><p>Push notifications are one of the most powerful tools to keep users engaged — for reminders, updates, appointments, or chats. But here’s the common pain: When the app is in background or killed, notifications often show up without data or never trigger your JS code at all.</p><p>Let’s fix that 💪</p><h3>⚙️ Tech Stack</h3><ul><li>React Native 0.75+</li><li>@react-native-firebase/messaging — receive FCM messages</li><li>@notifee/react-native — display local notifications</li><li>NestJS + Firebase Admin SDK — send push messages from backend</li></ul><h3>🧩 Step 1 — React Native Setup</h3><h3>1️⃣ Install dependencies</h3><pre>yarn add @react-native-firebase/app @react-native-firebase/messaging @notifee/react-native<br>cd ios &amp;&amp; pod install</pre><h3>2️⃣ Permissions</h3><p>Android</p><pre>&lt;uses-permission android:name=&quot;android.permission.POST_NOTIFICATIONS&quot; /&gt;<br>&lt;uses-permission android:name=&quot;android.permission.FOREGROUND_SERVICE&quot; /&gt;</pre><p>iOS</p><pre>await notifee.requestPermission();</pre><h3>3️⃣ Register device and get FCM token</h3><pre>import messaging from &#39;@react-native-firebase/messaging&#39;;</pre><pre>async function registerForPush() {<br>  await messaging().registerDeviceForRemoteMessages();<br>  const token = await messaging().getToken();<br>  console.log(&#39;FCM Token:&#39;, token);<br>  // send this token to your NestJS backend<br>}</pre><h3>4️⃣ Create notification channel</h3><pre>import notifee, { AndroidImportance } from &#39;@notifee/react-native&#39;;</pre><pre>await notifee.createChannel({<br>  id: &#39;appointment-notifications&#39;,<br>  name: &#39;Appointment Notifications&#39;,<br>  importance: AndroidImportance.HIGH,<br>});</pre><h3>🔔 Step 2 — Handling Notifications</h3><h3>Foreground</h3><pre>messaging().onMessage(async (remoteMessage) =&gt; {<br>  const data = JSON.parse(remoteMessage?.data?.appointment || &#39;{}&#39;);<br>  await notifee.displayNotification({<br>    title: data.title || &#39;New Notification&#39;,<br>    body: data.message || &#39;Check the details&#39;,<br>    android: { channelId: &#39;appointment-notifications&#39; },<br>    data,<br>  });<br>});</pre><h3>Background / Killed</h3><pre>messaging().setBackgroundMessageHandler(async (remoteMessage) =&gt; {<br>  const json = remoteMessage?.data?.appointment;<br>  if (!json) return;<br>  const data = JSON.parse(json);</pre><pre>  await notifee.displayNotification({<br>    title: data.title,<br>    body: data.message,<br>    android: { channelId: &#39;appointment-notifications&#39; },<br>    data,<br>  });<br>});</pre><blockquote><em>⚠️ Important: Always use data-only payloads — never include “notification”. If you do, Android’s system notification manager will handle it automatically, and your JS code (background handler) won’t be triggered.</em></blockquote><h3>🧭 Step 3 — Handling Taps &amp; Navigation</h3><p>NavigationService.ts</p><pre>import { createNavigationContainerRef } from &#39;@react-navigation/native&#39;;</pre><pre>export const navigationRef = createNavigationContainerRef();<br>export function navigate(name, params) {<br>  if (navigationRef.isReady()) navigationRef.navigate(name, params);<br>}</pre><p>index.js</p><pre>import notifee, { EventType } from &#39;@notifee/react-native&#39;;<br>import { navigate } from &#39;./navigation/NavigationService&#39;;</pre><pre>notifee.onBackgroundEvent(async ({ type, detail }) =&gt; {<br>  if (type === EventType.PRESS) {<br>    const data = detail.notification?.data;<br>    navigate(&#39;AppointmentById&#39;, { appointmentId: data.id });<br>  }<br>});</pre><h3>🧠 Step 4 — Backend (NestJS + Firebase Admin SDK)</h3><h3>Installation</h3><pre>yarn add firebase-admin</pre><h3>Firebase service</h3><pre>import { Injectable } from &#39;@nestjs/common&#39;;<br>import * as admin from &#39;firebase-admin&#39;;</pre><pre>@Injectable()<br>export class FirebaseService {<br>  constructor() {<br>    admin.initializeApp({<br>      credential: admin.credential.cert({<br>        projectId: process.env.FIREBASE_PROJECT_ID,<br>        clientEmail: process.env.FIREBASE_CLIENT_EMAIL,<br>        privateKey: process.env.FIREBASE_PRIVATE_KEY.replace(/\\n/g, &#39;\n&#39;),<br>      }),<br>    });<br>  }</pre><pre>  get messaging() {<br>    return admin.messaging();<br>  }<br>}</pre><h3>Sending data-only push</h3><pre>await this.firebaseService.messaging.send({<br>  token: user.fcmToken,<br>  data: {<br>    appointment: JSON.stringify({<br>      id: &#39;b7a9a7e1&#39;,<br>      title: &#39;New appointment&#39;,<br>      message: &#39;Doctor confirmed the session&#39;,<br>    }),<br>  },<br>  android: { priority: &#39;high&#39; },<br>  apns: {<br>    headers: { &#39;apns-priority&#39;: &#39;10&#39; },<br>    payload: { aps: { contentAvailable: true } },<br>  },<br>});</pre><h3>🧱 Step 5 — Behavior Summary</h3><p>App StateBehaviorForegroundonMessage → Notifee displays custom notificationBackgroundsetBackgroundMessageHandler handles it and shows via NotifeeKilledWorks only with data-only payload, without “notification”</p><h3>💡 Pro Tips</h3><p>✅ Use priority: “high” and content_available: true ✅ Check logs via adb logcat when testing background behavior ✅ If you see duplicate notifications → remove “notification” from payload ✅ Save &amp; update FCM tokens for each user ✅ Test all states: foreground, background, killed</p><h3>🧩 Quick Checklist</h3><ul><li>FCM token registered &amp; sent to server</li><li>Notification channel created</li><li>Data-only payload used</li><li>Background handler works</li><li>Navigation on tap tested</li><li>Firebase Admin SDK configured in backend</li></ul><h3>🏁 Conclusion</h3><p>With React Native + Notifee + Firebase Messaging on the frontend and NestJS + Firebase Admin SDK on the backend, you get a powerful, flexible notification system — full control over how and when users receive notifications, even when the app is closed.</p><p>No more “undefined” payloads or random duplicated notifications 🚀</p><h3>📚 Useful Links</h3><ul><li><a href="https://rnfirebase.io/messaging/usage?utm_source=chatgpt.com">React Native Firebase Messaging Docs</a></li><li><a href="https://notifee.app/react-native/docs/integrations/fcm?utm_source=chatgpt.com">Notifee Docs</a></li><li>Firebase Admin SDK (Node.js)</li><li>NestJS Docs</li></ul><h3>💬 Your Turn</h3><p>Have you implemented push notifications in production? Share your experience — what worked, what didn’t? 👇</p><p>#ReactNative #NestJS #Firebase #Notifee #PushNotifications #MobileDevelopment #TypeScript #FullStack #JavaScript #DevCommunity #Developers #ReactNativeFirebase</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c611a82f98e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>