We provide complete mobile and web apps development solutions

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

Could not attach to pid:"27798"

unable to attach.
iphone simulator issue.


Solution:
 reset the Simulator content and settings will solve the issue.

Renamed Cordova Plugins from org.apache.cordova.device to cordova-plugin-device


Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.device

Issue is due to Renamed Cordova Plugins  from org.apache.cordova.device to  cordova-plugin-device

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

The operation could'nt be completed.(LaunchServicesError error 0.)

The operation could'nt be completed.(LaunchServicesError error 0.)

Error: Start Page at 'www/index.html' was not found issue in xcode

Error: Start Page at 'www/index.html' was not found

I got this issue while building cordova based application for ios.
I resolved it by providing proper path to index.js

Saturday, January 23, 2016

MongoDB Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused

mongo
MongoDB shell version: 3.0.7
connecting to: test
2016-01-23T21:14:51.955+0530 W NETWORK  Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused
2016-01-23T21:14:51.957+0530 E QUERY    Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed
    at connect (src/mongo/shell/mongo.js:179:14)
    at (connect):1:6 at src/mongo/shell/mongo.js:179
exception: connect failed
     [initandlisten] 


***aborting after invariant() failure



Solution:

Run mongodb with sufficient permissions.


$ sudo mongod



Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts