GWANHUI KIM
GWANHUI KIM

Reputation: 443

how do I delete library clearly in react native?

I want to delete react-native-google-signin library.

so I remove it using 'yarn remove react-native-google-signin'

But when I bulid my app, it seems to be there.enter image description here

How can I solve this error?

Upvotes: 1

Views: 1237

Answers (1)

Akila Devinda
Akila Devinda

Reputation: 5502

In your scenario, after removing library or package you need to do pod install after that for iOS..

SOLUTION

if you are using yarn

yarn remove react-native-google-signin

If you are using npm

npm uninstall --save react-native-google-signin

After that move into your ios folder using cd ios

Then run pod install using pod install

Finally, close existing workspace from XCODE and reopen and before run your project clean your project ( Command+Shift+K ) and run

Upvotes: 3

Related Questions