apollo-client icon indicating copy to clipboard operation
apollo-client copied to clipboard

Doesn't work with Apple M1

Open brunoducattii opened this issue 2 years ago • 7 comments

In my react native project, the latest version of apollo/client is not making the requests. This is only happening with the Apple M1.

Intended outcome: Trying to build and open the app

Actual outcome: The bug occurs when the app is opened both emulator or device. Eternal loading on the requisitions.

How to reproduce the issue: Update @apollo/cliente from 3.5.9 to any higher version.

Versions

System: OS: macOS 12.3.1 Binaries: Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node Yarn: 1.22.18 - ~/Desktop/jurishand/app/node_modules/.bin/yarn npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm Browsers: Chrome: 101.0.4951.54 Safari: 15.4 npmPackages: @apollo/client: 3.5.10 => 3.5.10

brunoducattii avatar May 03 '22 23:05 brunoducattii

Was it working in previous versions of apollo client?

VagishVela avatar May 04 '22 10:05 VagishVela

Yes! @VagishVela

brunoducattii avatar May 04 '22 21:05 brunoducattii

Hi, @joaotmachado – I don't think your issue is M1-related. Check out issues #9689 and #9668. I'm personally having a similar problem after upgrading from 3.5.9 to 3.5.10 and I can reproduce the issue on both M1 and non-M1 machines.

Off2Race avatar May 06 '22 18:05 Off2Race

I have the same issue in M1, cant reproduce it in Intel CPU

estiventhneira avatar May 06 '22 18:05 estiventhneira

The same issue is for any React Native project which is being tested on Mobile device/emulator (not only IOS) on version > 3.5.10. The web version of native project is still working properly.

dominik-myszkowski avatar May 09 '22 18:05 dominik-myszkowski

Can folks try running npm i @apollo/client@beta to get version 3.7.0-alpha.3, which includes a change that has helped solve some other React Native problems (#9675)?

benjamn avatar May 09 '22 23:05 benjamn

@benjamn 3.7.0-alpha.3 work for me! thanks :) I will be waiting for the stable version

estiventhneira avatar May 09 '22 23:05 estiventhneira

Hi all, closing this issue it appears that this issue is resolved as of the 3.7 release. Please let us know if you need further support 🙏🏻

bignimbus avatar Dec 05 '22 21:12 bignimbus