These are chat archives for angular/angular-2-ionic-2

8th
Aug 2017
Kyoz
@banminkyoz
Aug 08 2017 01:42
I'm using Ionic Camera with allowEdit: true. With this i can crop my image before use it. but it always save cropped image to library - which i don't want. is there a way to prevent it. I also tried saveToPhotoAlbum: false, but it just work if i take a new picture not if i select image from library
UncertaintyP
@UncertaintyP
Aug 08 2017 03:01
@banminkyoz Well for example in android you have to change the behaviour in https://github.com/apache/cordova-plugin-camera/blob/master/src/android/CameraLauncher.java on lines 382-384
Kyoz
@banminkyoz
Aug 08 2017 04:17
@UncertaintyP Thanks :D..i'll try that
Kyoz
@banminkyoz
Aug 08 2017 09:07
@UncertaintyP bwt do u know to do we can't absolutely log out google account in our apps..(i do use auth 0). Everytime i login..it remember my last account..tried some ways bot doesn/t work. except i remove my app and re-install :D..Thanks u so much
UncertaintyP
@UncertaintyP
Aug 08 2017 09:09
Do you use a plugin for that?
Kyoz
@banminkyoz
Aug 08 2017 09:11
yes. i do use auth0-js :D
i thought that the account is saved on localStorage..but i almost tried remove them all..It's still doesn't work @@
UncertaintyP
@UncertaintyP
Aug 08 2017 09:18
No idea where the user is saved in this lib
François BIGOT
@fr4ngus
Aug 08 2017 09:24
Hi guys, since the update of the android SDK I have some problem when I try to compile my project.
  • What went wrong:
    Execution failed for task ':mergeDebugResources'.
    Error: Some file crunching failed, see logs for details
If someone have met the same issue, I think it comes from the drawable generate by Ionic but I'm not sure cause crunching verify the PNG image
Kyoz
@banminkyoz
Aug 08 2017 09:56

@UncertaintyP yes :D...i do make a service with logout function

...
localStorage.removeItem('access_token');
        localStorage.removeItem('id_token');
        localStorage.removeItem('expires_at');
        localStorage.removeItem('base_url');
...

In web app. it work normally. but in ionic app. logout doesn't remove old account :D

@fr4ngus I just do update all to lastest few days ago @@ but not see any problems like that @@
Just found out this, maybe folder name is your issue:
https://stackoverflow.com/questions/42580645/errorsome-file-crunching-failed-see-logs-for-details-afer-update-gradle
Hope it help :D
François BIGOT
@fr4ngus
Aug 08 2017 10:05
I have just copy the icon.png from mipmap-xxhdpi and paste in other image
I think it comes from ionicicons
Since the new version, cause when I build my project and build, the image is not recognized by android studio
I think the ionic team needs to change the icon.png
UncertaintyP
@UncertaintyP
Aug 08 2017 10:11
There are several versions where problems with resources exists, I'm really curious about what's so difficult about handling some image files :D
François BIGOT
@fr4ngus
Aug 08 2017 10:12
Yes :)
TheZakMan
@thezakman_twitter
Aug 08 2017 19:50
Anyone know if is possible to set to false google-maps-cordova plugin MapToolbar?