Giter VIP home page Giter VIP logo

cordovapush's People

Contributors

joaocaixinha avatar jparreira avatar realtime-framework avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cordovapush's Issues

Unable to unsubscribe

Hello,

Whenever I try to unsubscribe from a particular channel after some hours of subscription, it gives me error:

I/ORTCPushPlugin﹕ ibt.ortc.extensibility.exception.OrtcEmptyFieldException: Channel is null or empty

But when I re-subscribe to same channel and try to unsubscribe at same time, it get unsubscribed successfully.

Problema com ícone na notificação

Estou usando o framework de vocês com o Ionic e o ícone da aplicação não aparece quando a aplicação está em segundo plano e recebe notificação.

Os tamanhos de ícones que a aplicação tem hoje são:

<icon density="ldpi" src="resources/android/icon/liga_36x36.png" />
<icon density="mdpi" src="resources/android/icon/liga_48x48.png" />
<icon density="hdpi" src="resources/android/icon/liga_64x64.png" />
<icon density="xhdpi" src="resources/android/icon/liga_72x72.png" />
<icon density="xxhdpi" src="resources/android/icon/liga_96x96.png" />
<icon density="xxxhdpi" src="resources/android/icon/liga_144x144.png" /> 

Att,

Phonegap Build fails for android

Hi Realtime team.

I'm using Realtime plugin with an app (for android and iphone) built through "Phonegap Build".

In my config.xml file I added:

 <gap:plugin name="co.realtime.plugins.cordovapush" version="0.1.4" />

But I get the following build error:
"Error - Two of the plugins in your app are incompatible as they both add a file with the same name. View logs to find which plugins are causing this issue."

An Abstract of config.xml is as follows:

<preference name="permissions" value="none" />
<preference name="orientation" value="default" />
<preference name="target-device" value="universal" />
<preference name="fullscreen" value="false" />
<preference name="webviewbounce" value="true" />
<preference name="prerendered-icon" value="true" />
<preference name="stay-in-webview" value="false" />
<preference name="ios-statusbarstyle" value="black-opaque" />
<preference name="detect-data-types" value="true" />
<preference name="exit-on-suspend" value="false" />
<preference name="show-splash-screen-spinner" value="true" />
<preference name="auto-hide-splash-screen" value="true" />
<preference name="disable-cursor" value="false" />
<preference name="android-minSdkVersion" value="7" />
<preference name="android-installLocation" value="auto" />
<preference name="DisallowOverscroll" value="true" />

<gap:config-file parent="/manifest/application" platform="android">
    <activity android:launchMode="singleInstance" />
</gap:config-file>

<!-- GAP PLUGINS CORDOVA -->
<gap:plugin name="org.apache.cordova.battery-status"  />
<gap:plugin name="org.apache.cordova.camera"  />
<gap:plugin name="org.apache.cordova.console"  />
<gap:plugin name="org.apache.cordova.contacts"  />
<gap:plugin name="org.apache.cordova.device"  />
<gap:plugin name="org.apache.cordova.device-motion" />
<gap:plugin name="org.apache.cordova.device-orientation"  />
<gap:plugin name="org.apache.cordova.dialogs"  />
<gap:plugin name="org.apache.cordova.file"  />
<gap:plugin name="org.apache.cordova.file-transfer"  />
<gap:plugin name="org.apache.cordova.geolocation"  />
<gap:plugin name="org.apache.cordova.globalization"  />
<gap:plugin name="org.apache.cordova.inappbrowser"  />
<gap:plugin name="org.apache.cordova.media"  />
<gap:plugin name="org.apache.cordova.media-capture"  />
<gap:plugin name="org.apache.cordova.network-information"  />
<gap:plugin name="org.apache.cordova.splashscreen"  />
<gap:plugin name="org.apache.cordova.vibration"  />


<!-- GAP PLUGINS EXTERNAL -->
<gap:plugin name="com.phonegap.plugins.barcodescanner" />
<gap:plugin name="nl.x-services.plugins.launchmyapp">
    <param name="URL_SCHEME" value="XXXXXXXX" />
</gap:plugin>
<gap:plugin name="com.phonegap.plugin.statusbar" />
<gap:plugin name="com.badrit.macaddress" />
<gap:plugin name="com.simonmacdonald.telephonenumber" />
<gap:plugin name="nl.x-services.plugins.socialsharing" />
<gap:plugin name="nl.x-services.plugins.googleplus" source="plugins.cordova.io"/>

<gap:plugin name="com.phonegap.plugins.facebookconnect">
    <param name="APP_ID" value="XXXXXXXX" />
    <param name="APP_NAME" value="YYYYYYYY" />
</gap:plugin>

<gap:plugin name="nl.x-services.plugins.insomnia" />
<gap:plugin name="net.bgta.phonegap.plugin.appversion" />
<gap:plugin name="org.pushandplay.cordova.apprate" />
<gap:plugin name="co.realtime.plugins.cordovapush" version="0.1.4" />

I tried many modifications to plugin import but cannot find the problem.
If I remove "co.realtime.plugins.cordovapush" the build ends without errors.
Do you know which could be the problem?

Many Thanks
Silvano

Validation missing when handling an ORTC exception

There's a validation missing on the gWebView object when handling an ORTC exception.
Causes the following exception:

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'void org.apache.cordova.CordovaWebView.loadUrl(java.lang.String)' on a null object reference
at co.realtime.plugins.android.cordovapush.OrtcPushPlugin$13.run(OrtcPushPlugin.java:314)

Error disconnecting when no channel is subscribed

When attempting to disconnect a client when no subscription was performed raises the following exception. It also seems that the disconnect is not performed, the client remains connected.

W/System.err: Exception: Attempt to invoke virtual method 'void ibt.ortc.extensibility.GcmOrtcIntentService.removeServiceOrtcClient(ibt.ortc.extensibility.OrtcClient)' on a null object reference 
10-31 17:41:56.894 18723-19095/com.xxxx W/CordovaPlugin: Attempted to send a second callback for ID: OrtcPushPlugin435324735 
Result was: "Invalid action"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.