iOS – All about keychain
Is the local keychain removed when an app is uninstalled? No, the local keychain is still there. How to remove keychain when an app is […]
Is the local keychain removed when an app is uninstalled? No, the local keychain is still there. How to remove keychain when an app is […]
Create a pod library Generate a template Pod library project Create a dummy Pod class Push Pod library into remote repo Configure podspec file Create […]
How to clone a Bitbucket repo by ssh? How to clone a GitHub repo?
Create profile Run command line Open config file Profile is configured as below See profile detail Add private key If you do not have one, […]
How to fix “Received number of calls: 0” when testing a class method? Ref: inner-functions-with-jest How to mock a class to return a function instead […]
iOS Open iOS project in XCode Create MyNativeModule.h Create MyNativeModule.m Android Open Android project in Android Studio Create MyNativeModule.java having native Android moduleJava Kotlin Create […]
How to create a singleton class/ object? or How to use getter/ setter in class?
Follow this instruction integration-with-existing-apps You may need to install “react”: “x.x.x” by yourself. It is recommened to create an example React Native AwesomeProject for reference. […]
How to view the detail of a package? How to check why a package exists in the project? How to set a registry for npm/ […]
How to use useCallback? Use useCallback to save a function unless dependencies are changed By using useCallback, you can prevent unnecessarily re-rendering components by returning […]
Copyright © 2024 | WordPress Theme by MH Themes