GithubHelp home page GithubHelp logo

jboss-mobile / unified-push-helloworld Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 17.0 4.41 MB

License: Apache License 2.0

Java 21.06% CSS 8.72% HTML 2.35% Objective-C 34.89% C# 15.89% Swift 16.38% Ruby 0.72%

unified-push-helloworld's People

Contributors

corinnekrych avatar cvasilak avatar danbev avatar danielpassos avatar edewit avatar jcesarmobile avatar kpiwko avatar lfryc avatar lholmquist avatar matskiv avatar matzew avatar qmx avatar sebastienblanc avatar secondsun avatar tadeaskriz avatar vibe13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

unified-push-helloworld's Issues

typo in cordova readme

"Cordova" gives me the following, it should be "cordova" instead.

smikloso@localhost cordova]$ npm install -g Cordova
npm ERR! 404 404 Not Found: Cordova
npm ERR! 404
npm ERR! 404 'Cordova' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Linux 3.10.0-229.7.2.el7.x86_64
npm ERR! command "/home/smikloso/devel/node/bin/node" "/home/smikloso/devel/node/bin/npm" "install" "-g" "Cordova"
npm ERR! cwd /home/smikloso/dev/AG/unified-push-helloworld/cordova
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/smikloso/dev/AG/unified-push-helloworld/cordova/npm-debug.log
npm ERR! not ok code 0

Cordova helloworld: Expected plugin to have ID "com.vladstirbu.cordova.promise" but got "es6-promise-plugin"

{ cordova } master » cordova plugin add org.jboss.aerogear.cordova.push
Fetching plugin "org.jboss.aerogear.cordova.push" via npm
WARNING: org.jboss.aerogear.cordova.push has been renamed to aerogear-cordova-push. You may not be getting the latest version! We suggest you `cordova plugin rm org.jboss.aerogear.cordova.push` and `cordova plugin add aerogear-cordova-push`.
Fetching plugin "org.jboss.aerogear.cordova.push" via cordova plugins registry
Installing "org.jboss.aerogear.cordova.push" for android
Fetching plugin "https://github.com/vstirbu/PromisesPlugin.git" via git clone
Repository "https://github.com/vstirbu/PromisesPlugin.git" checked out to git ref "master".
Failed to install 'org.jboss.aerogear.cordova.push':Error: Expected plugin to have ID "com.vladstirbu.cordova.promise" but got "es6-promise-plugin".

Failed to resolved

When I addd this to build.gradle and do sync:

compile 'org.jboss.aerogear:aerogear-android-core:3.0.0-SNAPSHOT'
compile 'org.jboss.aerogear:aerogear-android-pipe:3.0.0-SNAPSHOT'
compile 'org.jboss.aerogear:aerogear-android-push:3.0.0-SNAPSHOT'

I get:
Error:(30, 13) Failed to resolve: org.jboss.aerogear:aerogear-android-push:3.0.0-SNAPSHOT
Error:(28, 13) Failed to resolve: org.jboss.aerogear:aerogear-android-core:3.0.0-SNAPSHOT
Error:(30, 13) Failed to resolve: org.jboss.aerogear:aerogear-android-push:3.0.0-SNAPSHOT

NullPointerExeption

Hi,
I checkout and run android app from https://github.com/jboss-mobile/unified-push-helloworld/tree/master/android. When I send push and app is in background I get bar notyfication, and that is good :) but when I click on in I get:

02-08 15:01:02.811 9756-9756/org.jboss.aerogear.unifiedpush.helloworld E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.jboss.aerogear.unifiedpush.helloworld/org.jboss.aerogear.unifiedpush.helloworld.activities.MessagesActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2355)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391)
at android.app.ActivityThread.access$600(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:155)
at android.app.ActivityThread.main(ActivityThread.java:5520)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:796)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at org.jboss.aerogear.unifiedpush.helloworld.HelloWorldApplication.sendMetric(HelloWorldApplication.java:54)
at org.jboss.aerogear.unifiedpush.helloworld.activities.MessagesActivity.onCreate(MessagesActivity.java:49)
at android.app.Activity.performCreate(Activity.java:5066)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1101)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2311)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391) 
at android.app.ActivityThread.access$600(ActivityThread.java:151) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1335) 
at android.os.Handler.dispatchMessage(Handler.java:99) 
at android.os.Looper.loop(Looper.java:155) 
at android.app.ActivityThread.main(ActivityThread.java:5520) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:511) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:796) 
at dalvik.system.NativeStart.main(Native Method) 

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.