ostownsville / cordova-plugin-fcm

Google FCM Push Notifications Cordova Plugin
21 stars 17 forks source link

Case Sensitive Issue (dropbox) #8

Closed luigi37 closed 6 years ago

luigi37 commented 6 years ago

Hi all, I'm working on Linux and Mac which are case sensitive. Unfortunately, to sync both I need dropbox and it looks like (to allow windows sync in general) it threats the files as case insensitive. In other words, every time I have files with same letters but different capitalisation, dropbox changes them to "name_of_the_file conflict with capilasation something"... Would be possible to change in ios/src the directory names Firebase firebase ? Thanks Luigi

chrisjpalmer commented 6 years ago

Hi Luigi. This problem could be solved using git.

  1. Download and install git on both your mac and linux
  2. Create an account on github OR bitbucket => bitbucket allows free private repositories.
  3. On either bb or gh, create a new repository
  4. Go to your project dir in your Mac and perform git init. Perform an initial commit
  5. Follow the instructions online from bb or gh about how to link your newly created repo to your local git repo.
  6. Pull the project on your linux machine using git pull

I recommend not using dropbox as it can sometimes corrupt your project if it has syncing conflicts.

Hope that helps!

luigi37 commented 6 years ago

Thanks Chris. But.... is it really needed to have the two folders with same name and different capitalisation? Which option would you reccomend to replace Dropbox? My Mac account is on macincloud service. Thanks

chrisjpalmer commented 6 years ago

Hi Luigi

I think what you are referring to is the Firebase and firebase folders in the iOS side of the plugin. I think you are right. This is going to cause issues and I'm surprised it hasn't already. Later today Im going to fix that issue and put up another P.R.

Thanks Luigi

chrisjpalmer commented 6 years ago

Still recommend using git!

luigi37 commented 6 years ago

Thanks :-)

luigi37 commented 6 years ago

Any chance yet to change dirs name?

chrisjpalmer commented 6 years ago

Hi Luigi

https://github.com/ostownsville/cordova-plugin-fcm/pull/12 https://github.com/ostownsville/cordova-plugin-fcm/pull/12

Here are the goods.

Chris

On 25 Sep 2017, at 7:18 am, luigi37 notifications@github.com wrote:

Any chance yet to change dirs name?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ostownsville/cordova-plugin-fcm/issues/8#issuecomment-331740826, or mute the thread https://github.com/notifications/unsubscribe-auth/AcaUO0YQlg8OP_jaIJVnBqauGd7xyVwfks5slscJgaJpZM4PZxWj.

luigi37 commented 6 years ago

Thank you!