Problem with ACS Push between 2 mobile apps

You must Login before you can answer or comment on any questions.

To start, the information below always works in the Android emulator. It fails when it runs on a real Android phone. I have not developed for IOS yet so this is only for Android at the moment.

What I am trying to do and have had working in older SDK version: I have 2 separate apps that I want to communicate to each other using ACS Push Notification. For sake of example: App IDs App Name com.app.a appA com.app.b appB I want to connect appB to appA's ACS Push so they can communicate (This works in an older version of the SDK but breaks in the newer versions).

Issue: Using newer SDK,pop upt an popup msg when appB is trying to connect to the push service: "Server refused request. Have you configured this app for ACS?" Each app can handle push notifications and connect to their respective "My Apps" prreferringme (refering to the appcelerator My Apps page). Each app can send and receivindependentlyndependantly.

Works: If I change appB's "acs-oauth" keys in tiapp.xml to use appA's acs-auth keys and I am using TI SDK 2.0.1 GA2, Ti.Cloud 2.0.1, and Ti CloudPush 2.0.1 then it works. appA and appB communication via Push and appB connects to appA's push service.

Fails: If I update the SDK to something newer like 2.1.1.GA, Ti.Cloud 2.2.0, Ti.CloudPush 2.0.5 then I get the refused request issue. However, if I change the App ID for com.app.b to com.app.a then it works, appB talks to appA, permanentis not a permenant solution.

Questions: 1) Should this work? Did something change in a newer sdk that "broke" this or should it not have worked in the first place? From testing, it appears that it used to ignore the app ID but now it uses it as a qualifier somewhere in the connection process.

2) Is it an ACS Push issue? Would Parse be a better option for this? ACS knows my app names and app IDs where another Push service would not have that information.

3) If this should not have worked in the first place then how do I get the 2 apps to push notifications to each other?

I was ready to push these to apps out until I ran into this issue during testing this week.
Anyone with more Push experience, please reply!!!

Thank you in advance!

Description:

Setup:

Your Answer

Think you can help? Login to answer this question!