Hi All,
I am new to development of mobile apps with AEM phonegap and have made use of AEM phonegap starter kit to build a sample app. I tried to run it by connecting my local instance to the AEM phonegap enterprise app. However, I am getting an error saying that the user name and password are invalid.
I am using a vanilla 6.1 instance with nothing but the app and I can log into the AEM instance from my mobile using admin/admin
However, I cannot seem to log into the instance via the AEM phonegap enterprise. Am I missing something here?
I also tried to run the app via the phonegap CLI but I am getting the following error
[img]Snip20150812_1.png[/img]
I have followed the steps listed here https://github.com/Adobe-Marketing-Cloud-Apps/aem-phonegap-starter-kit#run-on-the-ios-simulator
Downloading according to the above instructions is just giving me a metadata.xml file without any app files as attached. Any help is appreciated
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Ravi,
In order to download the source for your app for building with the CLI you need to use the link on the PhoneGap Build tile. The download button you are using under Manage App is just the iTunes meta data that can be used with iTunesConnect for an app store submission.
As for your PhoneGap Enterprise App issue...are you getting the Undefined [object:Object] error after entering your user name and password? Do you ever get as far as seeing your list of apps?
Views
Replies
Total Likes
The Eng team replied and said:
"You set the referrer filter to allow empty: http://docs.adobe.com/docs/en/aem/6-1/author/authoring-mobile-apps/setting-your-referrer-filter-to-a..."
Views
Replies
Total Likes
Hi Ravi,
In order to download the source for your app for building with the CLI you need to use the link on the PhoneGap Build tile. The download button you are using under Manage App is just the iTunes meta data that can be used with iTunesConnect for an app store submission.
As for your PhoneGap Enterprise App issue...are you getting the Undefined [object:Object] error after entering your user name and password? Do you ever get as far as seeing your list of apps?
Views
Replies
Total Likes
Hi Anthony,
I managed to download the source and simulate it on my mobile via the android SDK but am having issues with IOS which I believe is an issue with IOS-SIM . I will update my findings once I resolve the issue.
As far as PhoneGap enterprise app goes, The undefined error comes when I try to login. Here are the list of steps that I followed to connect my phonegap enterprise app to my local AEM instance
1. Connected Both the phone and the AEM instance on the same WIFI network.
2. Retrieved the IP address via Mac-->System Preferences-->Network-->WIFI
3. Tried to connect via the phonegap enterprise using the IP with port 4502 and using the default credentials admin:admin
Am I missing something here?
Thanks,
Ravi
Views
Replies
Total Likes
Hi Scott,
Thanks for your reply and I have configured my aem instance to allow empty.
Now I am getting an Undefined [object:Object] error. I can still access the AEM instance on my iphone via the web browser. Are there any alternative ways?
Views
Replies
Total Likes
I have the same issue. When I connect to http://<ip address>:4502 with admin/admin, I get a undefined object error. When I checked the logs, I see that the folder /libs/mobileapps/core is missing in AEM, which is giving a 404. Not sure if this problem was resolved for Ravi. Pls let me know how to solve this issue.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies