Saturday, May 21, 2016


Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file


Wednesday, May 18, 2016

guard init phantomjs-jasmine ERROR - Error is: No such file or directory @ rb_sysopen

RubyDep: WARNING: Your Ruby is outdated/buggy. (To disable warnings, set RUBY_DEP_GEM_SILENCE_WARNINGS=1)
RubyDep: WARNING: Your Ruby is: 2.3.0 (buggy). Recommendation: install 2.3.1.
21:47:06 - INFO - Writing new Guardfile to C:/Users/Guardfile
21:47:06 - INFO - Run 'gem install win32console' to use color on Windows
21:47:06 - ERROR - Could not load 'guard/phantomjs-jasmine' or '~/.guard/templates/phantomjs-jasmine' or find class Guard::Phantomjsjasmine
21:47:06 - ERROR - Error is: No such file or directory @ rb_sysopen - C:/Users/.guard/templates/phantomjs-jasmine

Tuesday, May 17, 2016

Monday, May 9, 2016

Unable to install Cordova plugin- Failed to install 'cordova-plugin-camera':Error: EACCES: permission denied, open

npm ERR! Error: EACCES: permission denied, symlink '../cordova/bin/cordova' -> '/Users/in074811/Documents/node_modules/.bin/cordova'
npm ERR!     at Error (native)
npm ERR!  { [Error: EACCES: permission denied, symlink '../cordova/bin/cordova' -> '/Users/in074811/Documents/node_modules/.bin/cordova']
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'symlink',

npm ERR!   path: '../cordova/bin/cordova',
 Please try running this command again as root/Administrator.








followed these steps:


 npm i cordova@5.1.1 --g


Installing "cordova-plugin-camera" for android
Fetching plugin "cordova-plugin-compat" via npm
npm http GET https://registry.npmjs.org/cordova-plugin-compat
npm http 200 https://registry.npmjs.org/cordova-plugin-compat
Fetching from npm failed: EACCES: permission denied, open '/Users/in074811/.npm/cordova-plugin-compat/1.0.0/package/.npmignore'
Failed to install 'cordova-plugin-camera':Error: EACCES: permission denied, open





rm -rf ~/.npm

Then try, it should work

cordova plugin add https://github.com/apache/cordova-plugin-camera.git


Friday, May 6, 2016

ionic google signin decidePolicyForNavigationAction


WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> Your app is missing support for the following URL schemes: 


I am integrating google signin sdk with ionic. 

Solution:

Info.plist:

                   <key>CFBundleURLSchemes</key>
<array>
<string>fb266347933702779</string>
 <string>URL SCHEME</string>

</array>

this will resolve the issue.

Thursday, May 5, 2016

Permission issue for ionic


Error: EACCES: permission denied, open '/Users/in074811/.cordova/lib/npm_cache/cordova-ios/4.1.1/package/.npmignore'

Error during untar for /.cordova/lib/npm_cache/cordova-ios/4.1.1/package.tgz: Error: EACCES: permission denied, open '/Users/in074811/.cordova/lib/npm_cache/cordova-ios/4.1.1/package/.npmignore'
Error: Failed to fetch platform ios
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.



Solution:
It may due to cache problem.

rm -rf ~/.cordova