sp-react-native-in-app-updates icon indicating copy to clipboard operation
sp-react-native-in-app-updates copied to clipboard

In ios its not showing native update like android

Open Kuljeet-123 opened this issue 1 year ago • 5 comments

It's not showing the native update prompt for iOS like it does for Android. Let me know where I might be going wrong. I followed the documentation and completed all the necessary steps, but it's still showing the native iOS modal to update the app with the button text and other details we provided.

Kuljeet-123 avatar Aug 14 '24 10:08 Kuljeet-123

Hi @Kuljeet-123,

When you say:

"Let me know where I might be going wrong."

It's helpful to provide a reproducible repository or sample code (and the environment that you are running it on, for example react-native version etc.). It's difficult for anyone to diagnose the issue without knowing what you did. :)

NiharR27 avatar Aug 22 '24 07:08 NiharR27

Hi @NiharR27 ,

I'm using Expo :- SDK-50, react-native: 0.73.6,

The problem I'm facing is that the native update popup is not showing on iOS, while it's working fine on Android. On iOS, it's just displaying the native update modal but not the App Store popup with all the information.

Kuljeet-123 avatar Aug 23 '24 11:08 Kuljeet-123

I am pretty sure that's by default (i will also let someone else confirm too),

Here is a picture from README that talks about this: Screenshot 2024-08-25 at 5 56 37 PM

on android, it shows nice update UI, but for iOS it uses react-native-siren, which is somewhat like this: Screenshot 2024-08-25 at 5 57 24 PM

If that's what you see than it's normal.

NiharR27 avatar Aug 25 '24 07:08 NiharR27

So, you are telling that we need to implement a react-native-siren code for the iOS popup to open? Because even for me the android works fine, but in iOS, the popup is not showing.

I'm working on React native(ver - 0.73.3)

Any solution for this? Thanks in advance 💖

Somaskandhan57 avatar Sep 18 '24 04:09 Somaskandhan57

I have the same issue https://github.com/SudoPlz/sp-react-native-in-app-updates/issues/189

Have you arrived at any solution? @Somaskandhan57 @Kuljeet-123

Do you mean we must implement a react-native-siren code for the iOS popup to open? @NiharR27

MostafaHamdy3 avatar Dec 14 '24 04:12 MostafaHamdy3

The popup you're talking about is a feature of the Android operating system. iOS does not have something similar, which is why you only get a basic alert modal on iOS. This library is simply surfacing platform level features and isn't really making any custom UI for you.

vanstinator avatar Mar 24 '25 19:03 vanstinator