kumar | 21 Oct 11:46 2014
Picon

app not working when sending push notification

applicatin not working, when push notification sends form provide.

i am implementing push notification for ios using phonegap.

I received token handler at first time install the application.
when i send the notification form provider, i dint receive the push notification and the application not working, untill i reintall the application. 

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
kumar | 21 Oct 07:56 2014
Picon

verify error:num=20:unable to get local issuer certificate

when i implementing pushnotificatiion in ios using phonegap. i am getting token handler message, but not get the message form server. when i test certificate verify using

$ openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert PushChatCert.pem -key PushChatKey.pem 

command.i am getting

verify error:num=20:unable to get local issuer certificate 

verify return:0 

No client certificate CA names sent


error in middle of out put. at the end i get 

Verify return code: 0 (ok).

I include entrust ca root certificate, but till now i am getting this error.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
volverine | 21 Oct 03:29 2014
Picon

Permanent server connection

I am able to use socket.io with PhoneGap/Cordova and communicate with the server. That's good. However, the connection sometimes drops randomly. That is, my server gets a 'disconnect' event for the client socket. Interestingly, most of the time my client doesn't get a 'disconnect' event. That means client is unaware that it has disconnected from the server.

It disconnects mostly in 2-3 minutes.. If the phone is plugged into the charger, it almost never disconnects. That makes me think Android is somehow cutting the connection for power saving purposes. When I connect the charger back, it reconnects in a few seconds. Interestingly again, just before it connects, client gets the 'disconnect' event, which it didn't get, but server did, when the real disconnect happened. 

My application needs the connection to stay up all the time. I am initially testing on Android but I will build it for iOS, too.

Any recommendation for me is appreciated. Thanks. 

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Joel Rubio | 20 Oct 23:40 2014
Picon

Rich Push Notifications (or Whatsapp-like custom popup on Locked Screen for Android)

Hi,

First excuse me for the confusing subject. This is what I meant with Whatsapp-like custom popup on locked screen: http://stackoverflow.com/questions/21140721/how-does-whatsapp-pop-up-notification-work

I want to do that for my app when it receives a Push Notification. I could just create a different activity for the popup instance... but it isn't as simple as that.

Ideally, this is what I want it to do:

1) User receives PN but it isn't displayed just yet (easy to do).

2) App starts running in the background because my app needs to do several API calls on boot to even work. Problem is that I would prefer to reuse my existing JS code to run the boot path. Thus, a native service for Android would not be my solution: http://stackoverflow.com/questions/10343828/creating-an-android-service-with-phonegap-have-phonegap-app-run-even-when-clos . I need the information in the PN payload to include as query parameters in some of the API calls. 

3) App fetched the necessary information and images from the server and is now ready to build the custom popup and display it to the user. Popup also includes buttons that would also call JS code from the app and dismiss the popup right away.

That's it. The "real" app never got opened.

Any ideas? Hints? Suggestions? Feedback?

Anything is more than welcome!

Thanks in advance,

-JR.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Daqueshia Irvin | 20 Oct 17:55 2014
Picon

Captivate Phone Gap Integration

Hi Guys, 

I have two important questions I'm trying to figure out: 

1) Does phone gap gives me the ability to take a Captivate program and modify it in IDE for either android or IOS ?

2) Is it possible to modify these projects using Phone Gap to be compatible with Google Cloud Messaging, to be able to run this now native application offline and send push updates back to the server once the device is back online? 


I am a software developer seeking technology to develop e-learning material, that can use be used into remote areas ( no internet location). The application will be able to store user testing results, that can be pushed back to the server once the device is live again. If this technology is not the way to go and you are aware of other possible paths, please do share.  

Thank you in advance ! 

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Igor Varga | 19 Oct 10:23 2014
Picon

Current Phonegap version

Hi there,

Current Phonegap version is 3.6.0, but when I install cordova as instructed in manual, current cordova version is 4.0.0. That means all the plugins will be using cordova 4.0.0. I'm totaly confused, is that going to work with Phonegap 3.6.0?

And the docuemntation on the Phonegap site is still for the 3.5.0.

Cheers,
Igor

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
nick.smet | 20 Oct 16:36 2014
Picon

Ibeacon ranging stuck in loop

Hey everyone,

I just started developing with phonegap for a little project. I'm making a tour guide based in Ibeacons.
I'm using the petermetz/cordova-plugin-ibeacon. It monitors and ranges my device but once it starts ranging it won't do anything else till i stop it.
For example for testing purposes i want Angular to update a label that says if we are close or not .

+ build with ionic framework

Could someone help me out, I'd really appreciate it  ?
.controller('BluetoothController',function($scope,$ionicPlatform){

$scope.beaconRegion = {
id: 'Iphone',
uuid: '7C146FE2-9B42-40A8-B4BF-9ABF5B33472F',
major: 1,
minor: 1000
};
$scope.range = "starting proximity";

$scope.StartScanBTdevices = function(){
//when the start scanning button gets clicked, this get activated
$scope.isScanning = true;
startScanForBeacons();
}

$scope.StopScanBTdevices = function(){
$scope.isScanning = false;
var beaconRegion = new cordova.plugins.locationManager.BeaconRegion($scope.beaconRegion.id, $scope.beaconRegion.uuid, $scope.beaconRegion.major, $scope.beaconRegion.minor);
cordova.plugins.locationManager.stopMonitoringForRegion(beaconRegion)
   .fail(console.error)
   .done();

cordova.plugins.locationManager.stopRangingBeaconsInRegion(beaconRegion)
   .fail(console.error)
   .done();
}

function startScanForBeacons(){
cordova.plugins.locationManager.requestWhenInUseAuthorization();

var delegate = new cordova.plugins.locationManager.Delegate().implement({

   didDetermineStateForRegion: function (pluginResult) {
    alert("didDetermineStateForRegion");
       cordova.plugins.locationManager.appendToDeviceLog('[DOM] didDetermineStateForRegion: '
           + JSON.stringify(pluginResult));
   },

   didStartMonitoringForRegion: function (pluginResult) {
    $scope.range = JSON.stringify(pluginResult);
   },

   didRangeBeaconsInRegion: function (pluginResult) {
    //alert(JSON.stringify(pluginResult.beacons));
    $scope.range =pluginResult.beacons[0].proximity;
   }
});

var beaconRegion = new cordova.plugins.locationManager.BeaconRegion($scope.beaconRegion.id, $scope.beaconRegion.uuid, $scope.beaconRegion.major, $scope.beaconRegion.minor);

cordova.plugins.locationManager.setDelegate(delegate);

// required in iOS 8+
cordova.plugins.locationManager.requestWhenInUseAuthorization(); 
// or cordova.plugins.locationManager.requestAlwaysAuthorization()

cordova.plugins.locationManager.startMonitoringForRegion(beaconRegion)
   .fail(console.error)
   .done();

cordova.plugins.locationManager.startRangingBeaconsInRegion(beaconRegion)
   .fail(console.error)
   .done();
}
})




--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Klaus Dorsch | 20 Oct 10:08 2014
Picon

cordova jar file missing

Hello,

after downloading phonegap-2.9.1, there is no cordova*.jar file. How can i get it?

Any help?

Thank You

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Klaus Dorsch | 20 Oct 10:36 2014
Picon

missing cordova jar file

Hello,

I'm trying to integrate Phonegap 2.9.1 into an existing Android app.

I downloaded Phonegap 2.9.1, but I couldn't find the jar file cordova.3.5.*.jar. .

Where can I get it or how can I create it?

Thanks in advance

Klaus






--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Barango | 19 Oct 00:37 2014
Picon

Frightfully n00b question... but we all start somewhere

About to jump into hybrid mobile and interactive development (one of those career pivots). Been doing dev for 20+ years (Front: Pshop, Illus, Back: Dreamweaver, C/C++, PHP, and web since 1996), but not yet JavaScript. Obviously, HTML5+CSS3+JavaScript is the foundation. But I'm not sure where to go next. I've been following PhoneGap since the Nitobi days, and now it's really amazing. Adobe offers some amazing tools, some code-centric, some code-free. Is there a resource I can read that provides some kind of "educational path" for getting into interactive development? The two target areas I am interested in are hybrid mobile and interactive design for exhibits. Thanks...

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
tyo tyoi | 18 Oct 23:26 2014
Picon

Phonegap imageResizer Plugin not resized

I trying iOS Application with Phonegap3.5, and imageresizeplugin.
(<gap:plugin name="com.synconset.imageresizer"  version="0.1.1" />)

I
trying to resize the image after captured camera,
but it does
not resize well. How am I doing wrong?
After captuerd by camera,
image of 3264*
2448 pixels created(not resized!).

Hear with the Code

navigator.camera.getPicture(
                CaptureSuccess,
                CaptureFail,

                {
                    quality: 40,
                    destinationType : Camera.DestinationType.FILE_URI,
                    sourceType : Camera.PictureSourceType.CAMERA,
                    correctOrientation: true
                }
);


    function
CaptureSuccess(imageURI) {

        var _imageURI = imageURI.replace('file://','');
        window.imageResizer.resizeImage(
                function(data) {
                    //i want display resized image!
                }, function (error) {
                    console.log("Error : \r\n" + error);
                }, _imageURI,640 , 480, {
                                        imageDataType: ImageResizer.IMAGE_DATA_TYPE_URL,
                                        resizeType:ImageResizer.RESIZE_TYPE_PIXEL ,
                                        format:'jpg'
                                    }
            );

               
   





--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Gmane