AeroGear Crypto Java 0.1.2 released
by Bruno Oliveira
Good morning, just to let you know we released today the bits for digital signatures and some bug fixes.
Have a happy new year sweet hearts.
--
abstractj
2 years, 7 months
iOS OAuth2 library PRs & future tasks
by Michael Doo
Hello,
There are three pending pull requests on the iOS OAuth2 project. They are
as follows:
#45 - Update to CocoaPods 1.0.1
This makes the update from CP 0.39.0 to CP 1.0.1. The main changes are in
the project file as well as the Podfile.
#46 - Make the OAuth2Module webview public
In the project I'm working on, we're using different logic to detect a
redirect to the OAuth2 callback URL. To integrate this into the Aerogear
library, we override the OAuth2Module's webview. This PR simply makes that
part of the code public.
#49 - Update Travis CI to use latest CocoaPods
The Travis build is still breaking (an error regarding the Aerogear Http
library). Nonetheless, if the project is going to use CP 1.0.1, Travis CI
needs to switch over as well. Not sure what to do about the consistent CI
failures though...
Please let me know if there are any questions/concerns regarding these PRs.
Some things on my to-do list that probably won't get done very soon, but
likely in the next couple of months:
* Beginning the conversion to Swift 2.3. This release of Swift is a sort of
bridge between 2.2 and 3.0. However, the challenge here is that if the
OAuth2 library is built with 2.3, all it's dependencies must also be in
2.3. I will probably do this work on a branch until such time that the
dependencies catch up.
* Making the library iOS 10.0 / Xcode 8 ready. iOS 10 will most likely be
released this fall and the OAuth2 library should support it. As part of
this, the library will also need some changes to support Xcode 8 (Xcode 7.x
won't build for an iOS 10 target). Again, this will probably be done on a
separate branch until the library's dependencies also support iOS 10.
Best,
Michael Doo
410 Labs
8 years, 6 months
AGDroid-Push:4.0.1 release (was Re: FCM: Cordova/Android bug ?)
by Matthias Wessendorf
Hello,
this little bug was fixed, and a 4.0.1 will hit Maven Central soon.
The staging repo for the update is here:
https://repository.jboss.org/nexus/content/repositories/jboss_releases_st...
I've already update our Android HelloWorld demo:
https://github.com/jboss-mobile/unified-push-helloworld/pull/34
as well the Cordova plugin:
https://github.com/aerogear/aerogear-cordova-push/pull/99
Happy testing :)
On Mon, Jun 20, 2016 at 1:31 PM, Matthias Wessendorf <matzew(a)apache.org>
wrote:
> https://issues.jboss.org/browse/AGDROID-560
>
> On Mon, Jun 20, 2016 at 1:27 PM, Matthias Wessendorf <matzew(a)apache.org>
> wrote:
>
>> I have seen that with a native app now too.
>>
>> I will create a JIRA
>>
>> On Mon, Jun 20, 2016 at 11:01 AM, Oleg Matskiv <omatskiv(a)redhat.com>
>> wrote:
>>
>>> And instanceId.getToken() indeed returned null on first registration.
>>> So native unified-push-helloworld app [1] can be used to reproduce this
>>> issue.
>>>
>>> [1] https://github.com/jboss-mobile/unified-push-helloworld
>>>
>>> On Mon, Jun 20, 2016 at 10:40 AM, Oleg Matskiv <omatskiv(a)redhat.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I had very similar problem with native app (unified-push-helloworld),
>>>> 400 code on first registration.
>>>> I'll check getToken() return value to verify that its actually same
>>>> issue.
>>>>
>>>> On Mon, Jun 20, 2016 at 10:28 AM, Julio Cesar Sanchez Hernandez <
>>>> jusanche(a)redhat.com> wrote:
>>>>
>>>>> I think that should be enough, if the plugin uses the AGPush lib and
>>>>> the lib has that on the AndroidManifest, it should be merged with the app
>>>>> AndroidManifest. In the end a Cordova app is an Android app, it should work
>>>>> the same way the Android app works
>>>>>
>>>>> On Mon, Jun 20, 2016 at 10:02 AM, Matthias Wessendorf <
>>>>> matzew(a)apache.org> wrote:
>>>>>
>>>>>> Ok, so IMO that sounds like a bug in the Android lib, so the UPS
>>>>>> registration should be fired after 'onTokenRefresh' is called
>>>>>>
>>>>>> Also, cordova question. Do we need to define our
>>>>>> "UnifiedPushInstanceIDListenerService" in the plugin's config section for
>>>>>> the manifest? Or is this, inside the AGPush lib good enough ?
>>>>>>
>>>>>> https://github.com/aerogear/aerogear-android-push/blob/master/aerogear-an...
>>>>>>
>>>>>> Thanks,
>>>>>> Matthias
>>>>>>
>>>>>> On Mon, Jun 20, 2016 at 9:46 AM, Julio Cesar Sanchez Hernandez <
>>>>>> jusanche(a)redhat.com> wrote:
>>>>>>
>>>>>>> Yes, getToken will return null until onTokenRefresh is called the
>>>>>>> first time when it gets the real value.
>>>>>>>
>>>>>>> On Mon, Jun 20, 2016 at 9:06 AM, Matthias Wessendorf <
>>>>>>> matzew(a)apache.org> wrote:
>>>>>>>
>>>>>>>> I looked here:
>>>>>>>>
>>>>>>>> https://developers.google.com/cloud-messaging/android/android-migrate-fcm...
>>>>>>>>
>>>>>>>> It says that we no longer need, but this:
>>>>>>>>
>>>>>>>> https://github.com/aerogear/aerogear-android-push/blob/3.0.1/aerogear-and...
>>>>>>>>
>>>>>>>> was replace with explicit FCM getToken() call:
>>>>>>>>
>>>>>>>> https://github.com/aerogear/aerogear-android-push/blob/4.0.0/aerogear-and...
>>>>>>>>
>>>>>>>> I think I am a bit over asked here, on the Android internals...
>>>>>>>>
>>>>>>>> Also, looks like we are not the only ones, seeing that problem :)
>>>>>>>>
>>>>>>>> http://stackoverflow.com/questions/37836383/android-firebase-token-is-nul...
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Jun 19, 2016 at 8:39 PM, Matthias Wessendorf <
>>>>>>>> matzew(a)apache.org> wrote:
>>>>>>>>
>>>>>>>>> Looking at the JavaDoc for the getToken():
>>>>>>>>>
>>>>>>>>> https://developers.google.com/android/reference/com/google/firebase/iid/F...
>>>>>>>>>
>>>>>>>>> "the master token or null if the token is not yet available"
>>>>>>>>>
>>>>>>>>> looks like on the android lib we should not have it return null ?
>>>>>>>>>
>>>>>>>>> On Sat, Jun 18, 2016 at 3:17 PM, Matthias Wessendorf <
>>>>>>>>> matzew(a)apache.org> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> when I launch a fresh and clean Cordova app (I am unable to
>>>>>>>>>> reproduce this on our native Android HelloWorld), and open it the first
>>>>>>>>>> time for registration, I am receiving a 400 status code from the server.
>>>>>>>>>>
>>>>>>>>>> Uninstalling the app, and launching it again, show the the
>>>>>>>>>> problem again, ONLY on Cordova...
>>>>>>>>>>
>>>>>>>>>> This means either the deviceToken from Android is null or invalid
>>>>>>>>>> (according to the pattern):
>>>>>>>>>>
>>>>>>>>>> https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.1.x-dev/ja...
>>>>>>>>>>
>>>>>>>>>> Doing some debugging, on the server, I see the provided token is
>>>>>>>>>> actually null.
>>>>>>>>>>
>>>>>>>>>> Is there a race condition or so on the client, for the initial
>>>>>>>>>> launch of the app ?
>>>>>>>>>>
>>>>>>>>>> I added some logging on the client (see [1]), and indeed, it
>>>>>>>>>> looks like, on Cordova, it is actually null:
>>>>>>>>>>
>>>>>>>>>> https://gist.github.com/matzew/e66fa3e2bda6c4dd4655fbe5d63ed755#file-gist...
>>>>>>>>>>
>>>>>>>>>> Now... a few lines above... I see 'outdated' c2dm
>>>>>>>>>> packages/permissions, and a GCM: "Missmatched messenger", it looks like
>>>>>>>>>> something is still not correct.
>>>>>>>>>>
>>>>>>>>>> Any thoughts ?
>>>>>>>>>>
>>>>>>>>>> -Matthias
>>>>>>>>>>
>>>>>>>>>> [1]
>>>>>>>>>> https://github.com/matzew/aerogear-android-push/commit/1fa6aad53da4e1b9c4...
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Matthias Wessendorf
>>>>>>>>>>
>>>>>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>>>>>>>> twitter: http://twitter.com/mwessendorf
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Matthias Wessendorf
>>>>>>>>>
>>>>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>>>>>>> twitter: http://twitter.com/mwessendorf
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Matthias Wessendorf
>>>>>>>>
>>>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>>>>>> twitter: http://twitter.com/mwessendorf
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> aerogear-dev mailing list
>>>>>>>> aerogear-dev(a)lists.jboss.org
>>>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> aerogear-dev mailing list
>>>>>>> aerogear-dev(a)lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Matthias Wessendorf
>>>>>>
>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>>>> twitter: http://twitter.com/mwessendorf
>>>>>>
>>>>>> _______________________________________________
>>>>>> aerogear-dev mailing list
>>>>>> aerogear-dev(a)lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> aerogear-dev mailing list
>>>>> aerogear-dev(a)lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Oleg Matskiv
>>>> Associate Quality Engineer
>>>> Red Hat Mobile Application Platform
>>>> omatskiv(a)redhat.com
>>>>
>>>
>>>
>>>
>>> --
>>> Oleg Matskiv
>>> Associate Quality Engineer
>>> Red Hat Mobile Application Platform
>>> omatskiv(a)redhat.com
>>>
>>> _______________________________________________
>>> aerogear-dev mailing list
>>> aerogear-dev(a)lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> twitter: http://twitter.com/mwessendorf
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> twitter: http://twitter.com/mwessendorf
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf
8 years, 6 months
FCM: Cordova/Android bug ?
by Matthias Wessendorf
Hi,
when I launch a fresh and clean Cordova app (I am unable to reproduce this
on our native Android HelloWorld), and open it the first time for
registration, I am receiving a 400 status code from the server.
Uninstalling the app, and launching it again, show the the problem again,
ONLY on Cordova...
This means either the deviceToken from Android is null or invalid
(according to the pattern):
https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.1.x-dev/ja...
Doing some debugging, on the server, I see the provided token is actually
null.
Is there a race condition or so on the client, for the initial launch of
the app ?
I added some logging on the client (see [1]), and indeed, it looks like, on
Cordova, it is actually null:
https://gist.github.com/matzew/e66fa3e2bda6c4dd4655fbe5d63ed755#file-gist...
Now... a few lines above... I see 'outdated' c2dm packages/permissions, and
a GCM: "Missmatched messenger", it looks like something is still not
correct.
Any thoughts ?
-Matthias
[1]
https://github.com/matzew/aerogear-android-push/commit/1fa6aad53da4e1b9c4...
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf
8 years, 6 months
Targeting iOS 10
by Michael Doo
Hello,
With WWDC and the release of Xcode 8 beta, it's probably a good time to
take a look at necessary changes to support iOS 10 (and maybe even Swift
2.3). This applies to all of the Aerogear iOS tools. For example, there
seems to be a bug in the embedded web view flow of the OAuth2 library, but
I haven't fully traced it yet.
Best,
Michael Doo
410 Labs
8 years, 6 months
Gradle help for Cordova (was: Re: Cordova-FCM issue (was: Re: Android Push: Firebase Cloud Messaging))
by Matthias Wessendorf
hello,
trying the fcm branch, I get this Gralde error. Should we add (dynamic)
applicationId in our file?
like done here?
https://github.com/phonegap/phonegap-plugin-push/blob/master/push.gradle#L19
Does that work ? Or are there some concerns ?
It looks like Firebase now does require this:
06-10 10:52:52.039 4894 4894 E AndroidRuntime:
java.lang.RuntimeException: Unable to get provider
com.google.firebase.provider.FirebaseInitProvider:
java.lang.IllegalStateException: Incorrect provider authority in manifest.
Most likely due to a missing applicationId variable in application's
build.gradle.
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
android.app.ActivityThread.installProvider(ActivityThread.java:5156)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
android.app.ActivityThread.installContentProviders(ActivityThread.java:4748)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4688)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
android.app.ActivityThread.-wrap1(ActivityThread.java)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
android.os.Handler.dispatchMessage(Handler.java:102)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
android.os.Looper.loop(Looper.java:148)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
android.app.ActivityThread.main(ActivityThread.java:5417)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
java.lang.reflect.Method.invoke(Native Method)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: Caused by:
java.lang.IllegalStateException: Incorrect provider authority in manifest.
Most likely due to a missing applicationId variable in application's
build.gradle.
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
com.google.firebase.provider.FirebaseInitProvider.zza(Unknown Source)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
android.app.ActivityThread.installProvider(ActivityThread.java:5153)
06-10 10:52:52.039 4894 4894 E AndroidRuntime: ... 10 more
06-10 10:52:52.040 4996 2592 W ActivityManager: Force finishing
activity org.jboss.aerogear.unifiedpush.HelloWorld/.MainActivity
On Fri, Jun 10, 2016 at 10:58 AM, Matthias Wessendorf <matzew(a)apache.org>
wrote:
> Hi,
>
> I think I am running into the issue, that I am not having the
> google-service.json file present, in my app.
>
>
> My try to update our plugin is here:
>
> https://github.com/matzew/aerogear-pushplugin-cordova/commit/0f10a771a2d6...
>
>
> And I am using this app:
> https://github.com/jboss-mobile/unified-push-helloworld/tree/master/cordova
>
> My "www/push-config.json" file content is here:
> https://gist.github.com/matzew/aebceece86f8ac5159ec7677a2fb347c
>
> After updating that, I did follow the instructions, on the readme, in the
> "cordova" folder of the helloworld:
>
> 1) cordova platform add android
> 2) cordova plugin add
> https://github.com/matzew/aerogear-pushplugin-cordova\#fcm
> 3) cordova run android
>
>
> But, when the app launches, it crashes
>
>
>
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime:
> java.lang.RuntimeException: Unable to get provider
> com.google.firebase.provider.FirebaseInitProvider:
> java.lang.IllegalStateException: Incorrect provider authority in manifest.
> Most likely due to a missing applicationId variable in application's
> build.gradle.
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> android.app.ActivityThread.installProvider(ActivityThread.java:5156)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> android.app.ActivityThread.installContentProviders(ActivityThread.java:4748)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> android.app.ActivityThread.handleBindApplication(ActivityThread.java:4688)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> android.app.ActivityThread.-wrap1(ActivityThread.java)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> android.os.Handler.dispatchMessage(Handler.java:102)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> android.os.Looper.loop(Looper.java:148)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> android.app.ActivityThread.main(ActivityThread.java:5417)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> java.lang.reflect.Method.invoke(Native Method)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: Caused by:
> java.lang.IllegalStateException: Incorrect provider authority in manifest.
> Most likely due to a missing applicationId variable in application's
> build.gradle.
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> com.google.firebase.provider.FirebaseInitProvider.zza(Unknown Source)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: at
> android.app.ActivityThread.installProvider(ActivityThread.java:5153)
> 06-10 10:52:52.039 4894 4894 E AndroidRuntime: ... 10 more
> 06-10 10:52:52.040 4996 2592 W ActivityManager: Force finishing
> activity org.jboss.aerogear.unifiedpush.HelloWorld/.MainActivity
> 06-10 10:52:52.129 23947 24146 I Icing : Indexing
> B96E309EB2416B4DBFAE0D6623436A2C7956B584 from com.google.android.gms
> 06-10 10:52:52.222 4996 6509 I OpenGLRenderer: Initialized EGL, version
> 1.4
> 06-10 10:52:52.231 23947 24146 I Icing : Indexing done
> B96E309EB2416B4DBFAE0D6623436A2C7956B584
> 06-10 10:52:52.236 23947 24146 I Icing : Indexing
> 209BD54564CA1E38C7343A8DD5819E6471F3968C from
> com.google.android.googlequicksearchbox
> 06-10 10:52:52.269 4996 5005 I art : Background partial concurrent
> mark sweep GC freed 22954(1750KB) AllocSpace objects, 0(0B) LOS objects,
> 26% free, 43MB/59MB, paused 1.180ms total 114.805ms
> 06-10 10:52:52.321 23947 24058 I Icing : Indexing done
> 209BD54564CA1E38C7343A8DD5819E6471F3968C
> 06-10 10:52:52.661 4996 5039 W ActivityManager: Activity pause timeout
> for ActivityRecord{16012ae u0
> org.jboss.aerogear.unifiedpush.HelloWorld/.MainActivity t1391 f}
>
> On Fri, Jun 10, 2016 at 12:02 AM, Julio Cesar Sanchez Hernandez <
> jusanche(a)redhat.com> wrote:
>
>> My fork is here
>> https://github.com/jcesarmobile/phonegap-plugin-push/tree/FCM
>>
>> I didn't add the .json and I'm receiving push notifications
>>
>> Last time I read the GCM docs they were already talking about that .json
>> (I think it was on February or March), it's not a new thing on FCM.
>>
>> On Thu, Jun 9, 2016 at 6:38 PM, Summers Pittman <supittma(a)redhat.com>
>> wrote:
>>
>>>
>>>
>>> On Thu, Jun 9, 2016 at 11:00 AM, Julio Cesar Sanchez Hernandez <
>>> jusanche(a)redhat.com> wrote:
>>>
>>>> I don't think that file is really needed, the phonegap-plugin-push (
>>>> https://github.com/phonegap/phonegap-plugin-push) doesn't use it and
>>>> push notifications work without it. The Sender ID is set on plugin install
>>>> passing it as a variable. Not sure what other values are included on the
>>>> google-services.json
>>>>
>>>
>>> This plugin isn't using Firebase. We didn't need google-services.json
>>> for GCM3.
>>>
>>>
>>>>
>>>> I forked the phonegap plugin to add FCM support and it works too
>>>> without the google-services.json file too.
>>>>
>>>>
>>>> Sauce?
>>>
>>> Firebase requires two variables, the application id and the sender id.
>>> Fortunately the senderId is embedded in the applicationId.
>>>
>>> I've made a PoC version of AGDroid-push here :
>>> https://github.com/secondsun/aerogear-android-push/tree/no_google_services
>>> and a Poc Puhs app here :
>>> https://github.com/secondsun/unified-push-helloworld/tree/no_google_services
>>>
>>>
>>> As you can see I've just overloaded the SenderId.
>>>
>>>
>>>>
>>>> On Thu, Jun 9, 2016 at 2:04 PM, Summers Pittman <supittma(a)redhat.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Thu, Jun 9, 2016 at 2:19 AM, Erik Jan de Wit <edewit(a)redhat.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>> I am now actually wondering, where to put the google-service.json
>>>>>>> file on Cordova (no I am not updating our plugin), but I have no clue what
>>>>>>> is matching the native 'app' folder in Crodova land, is it WWW foldeR?
>>>>>>>
>>>>>>>
>>>>>>> https://github.com/jboss-mobile/unified-push-helloworld/tree/master/cordova
>>>>>>>
>>>>>>> hrm...
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> There is no native folder on a cordova project, but we can put
>>>>>> something in the plugin.xml that will install / copy it into the native
>>>>>> project:
>>>>>>
>>>>>> <resource-file src="src/android/google-services.json" target="google-services.json" />
>>>>>>
>>>>>>
>>>>>> https://github.com/aerogear/aerogear-cordova-push/blob/master/plugin.xml#L64
>>>>>>
>>>>>> Don't know what the content is of this file seems the
>>>>>> https://github.com/jboss-mobile/unified-push-helloworld/pull/31 demo
>>>>>> doesn't have this google-services.json
>>>>>>
>>>>>
>>>>> Correct. The documentation is being updated to cover the fact the
>>>>> developer needs to add the file. If the file is not present the developer
>>>>> gets a useful error message in his/her log when registration fails. If the
>>>>> file is present but incorrect (as say a stubbed file) then then developer
>>>>> gets a less useful message. We chose to leave it out because it is more
>>>>> clear what the problem is, and a quick google search for
>>>>> "google-services.json" takes the user exactly where they need to go.
>>>>>
>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Cheers,
>>>>>> Erik Jan
>>>>>>
>>>>>> _______________________________________________
>>>>>> aerogear-dev mailing list
>>>>>> aerogear-dev(a)lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> aerogear-dev mailing list
>>>>> aerogear-dev(a)lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> aerogear-dev mailing list
>>>> aerogear-dev(a)lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>
>>>
>>>
>>> _______________________________________________
>>> aerogear-dev mailing list
>>> aerogear-dev(a)lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev(a)lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> twitter: http://twitter.com/mwessendorf
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf
8 years, 6 months