Sunday, November 29, 2015

Using angular-busy to intercept all http request

We used angular-busy to show loading indicators on different parts of a web app based on a particular promise of a http request. This is really nice on desktop sized apps but on smaller devices we prefer to show one loader for all API calls. angular-busy doesn't come with a http interceptor to rule all them promises so we used the following one to do the trick. Plnkr can be found here.


Tuesday, October 28, 2014

Yosemite & iOS 8.1 "Your iPhone must use the same iCloud and FaceTime account" problem

I recently updated all my iOS devices to iOS 8.1 and my MacBook to Yosemite. And of course I wanted to try making a phone call over the iPhone (nice feature: selecting a phone number in Safari will give you the option to call it). It didn't work. The error message was Your iPhone must use the same iCloud and FaceTime account, which was the case actually. But my phone number was not listed as You can be reached for messages at neither in Messages nor in FaceTime.

After googling a bit I found http://support.apple.com/kb/ht5538. The only option that did the trick for me was the last one. In short: sign out of your Apple ID from Messages and FaceTime on all your iOS devices as well as your mac(s) and sign back in with your phone first I suppose. Afterwards my number was listed again and I finally could make the call.