React native ‘Realm’ error while cloning object.

Today I faced an issue, where I had an array in a schema. After reading the record from realm database, I was converting that record to a JSON manually (We should generally use the toJSON method provided realmJS). I had copied all the values into a new object but assigned an array as it is … Read more

Android: Project ‘XXXXX’ not found in root project ‘XXXXXX’

Sync may be required Solution Delete .gradle folder (which is in project’s root folder), and in Android Studio, from File menu click “Sync Project with Gradle Files” option. Reason Once this happened to me after switching Git branches: In branch feature/a I had a Gradle module named a. In branch feature/b there was no module … Read more

IOS deep linking. All you need to know

Official tutorial from WWDC: Example of association file: The app id is combination of: Application Id + Application package identifier. You can find your appId against the identifier you have created on apple developer account. You also need to enable ‘Associated domains’ capability in your identifier settings from developer account. Detailed articles: Reddit association … Read more

Categories IOS

Git export a commit and apply to another branch

Git difference between cherry pick and patch. There are some cases where you have committed a code on one branch and later you have apply the same changes to different branch, but not other commits before or after that are not on other branch. For that you have to export the patch using format-patch command … Read more

Categories Git

Scaffold Command line MAC

In the above command, ‘ConnectionString’ is the string that you use to connect with sql server. ‘Provider’ is the driver (nuget package) that will help you to interact with the sql server. e.g. for MySQL we could use ‘Pomelo.EntityFrameworkCore.MySql’ nuget package, for MSSQL we could use ‘Microsoft.EntityFrameworkCore.SqlServer’