SudoPlz / sp-react-native-in-app-updates

An in-app updater for the native version of your react-native app.
MIT License
489 stars 66 forks source link

In ios its not showing native update like android #186

Open Kuljeet-123 opened 3 months ago

Kuljeet-123 commented 3 months ago

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.

NiharR27 commented 2 months ago

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. :)

Kuljeet-123 commented 2 months ago

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.

NiharR27 commented 2 months ago

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.

Somaskandhan57 commented 1 month ago

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 💖