-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAM SDK Cordova iOS plugin #61
Comments
Hi @mylvs, I would suggest to please get in touch with our PM Chetan Thakker for this request. |
Thanks for your response @Jaspreet1. Can you provide me with Chetan's email address please? Thanks! |
Hello @mylvs - there has been a change in our current MAM SDK strategy - given the number of frameworks ( ObjC, Swift, Cordova, Ionic, Xamarin, Maui.net, and so on...) it is a challenge for our teams to support and maintain all of them. |
Hi @chetanthakker - if there is no supported Cordova plugin for iOS, I assume that we need to follow the steps for embedding the SDK in a native app (adding frameworks, Keychain sharing, URL type) and injecting the ipa file into an MDX wrapper? Anyone have any thoughts, or experience with treating a Cordova iOS app as a native app instead of using the unsupported plugin? |
Hello @tatham - many thanks for your attention to Citrix products! |
Thanks @timliu55 - I'm very keen to do some initial testing before you release it, and provide feedback, if that helps. |
Thanks @tatham - I didn't see a precedent to do that, let's just wait for a couple of days |
Hello @tatham - not sure whether you are notified by GitHub, we've pre-released MAM SDK Cordova iOS on Feb. 8 |
Hi @timliu55 - apologies for the delay is responding. I have been trying out the new version of the plugin (and the sample app) but haven't managed to find time to complete that yet. As a matter of interest, what would you like me to do with any feedback/suggestions? |
Hi @tatham - nice to hear your response, please just take your time
|
(Thanks @timliu55, I meant how would you like me to report my feedback, here or somewhere else?) I'm doing some initial testing with the Citrix CordovaiOSSampleApp before trying to get the MAMSDK working with our own app. My main requirement for the SDK is to get a MicroVPN tunnel running, so that we can connect to a server on our internal network. This is what I've done:
Then I built and deployed the CordovaiOSSampleApp to XenMobile/SecureHub.:
To me it looks like the microVPN isn't loading (which is basically the same behaviour I described earlier in this thread when I was following the steps to add the MAM SDK to a native iOS app). Any suggestions for debugging the issue? Thanks |
@tatham, it is fine to report your issue right here, and it is better to open a new issue
|
Thanks, answers to your questions:
I'm not keen to upload any device logs here, I can create a support ticket if necessary. Ideally I need to understand how it is supposed to work/behave, so that I can start implementing the SDK into our own apps, so:
Thanks. |
@tatham - if the app does not flip to secure hub, that indicates the build process is not fully correct Answers to your questions:
|
Thanks @ShawnInTibco, I tried what you suggested, and I've realised what is happening. The app does in fact flip back to SecureHub the very first time I open it after installing, but it then displays an error message (screenshot attached) which disappears after a short while, and then never re-appears when re-opening the app. |
Hi @tatham , |
@tatham That's it. Please check the run script via X-code and build.json in project path. Param "developmentTeam" in build.json and " |
Thanks @ShawnInTibco and @Jaspreet1 I've checked the app ID in the manifest.xml and I've checked the build.jason and mdx.json it is correct.
Is the store URL important? In a comment in the Citrix build script documentation it implies that it's not. However I have tried plain http and https versions of our store URL, and a version with port 4443, because that's what's required when logging in to our CEM server, but it makes no difference. Some logging from the Console app: I'll create a Citrix support ticket so that I can send you any files or logs that you need for diagnosis. |
@tatham |
Thanks @ShawnInTibco I wasn't actually running the build script in Xcode (must admit I missed that step, because it's after instructions to upload the (empty) MDX file to CEM in the ReadMe, which I assume is a mistake, unless this process is different to the process when using the MDX Toolkit. FYI - I've created a Citrix Support ticket (81762557) which has a lot more detail of the steps I'm following, including command output and the config files, etc. |
It looks to me like the script supplied in the pre-release Cordova iOS ReadMe only builds the MDX wrapper, it calls: The additional script that I was using (based on the Citrix native iOS documentation) calls this to embed the ipa file: |
Hi @tatham. Sorry for delaying. The point: ipa file generated by "cordova build -ios" won't work for now(will fix the next version). You must use the ipa file build via xcode, and the mdx file beside ipa file. Please build project via xcode. |
Thanks @ShawnInTibco, that has resolved the issue.
but the good news is that the Citrix sample app is now working, and I can access a page on an internal server, so the microVPN is functioning as expected. Interested to know what the difference is between the build that Cordova runs to generate an ipa file, and the one that Xcode runs when exporting an archive to produce an ipa file? |
@tatham Glad to see you have solved the problem. It's a known issue which will be fixed soon. Never mind it. |
Good day!
Inline with our integration with MAMSDK, we are also using Cordova iOS. I was able to see documentation from your website but we weren't able to find link to download the Cordova iOS plugin. My devs have raised it in Citrix support (ticket#81093090) and Citrix support person have indicated the following:
"I could not find anything related to Cordova either. So I checked further and found the following official Citrix article which does not have Cordova listed for ios.
https://docs.citrix.com/en-us/mdx-toolkit/mam-sdk-overview.html
If any particular feature not listed in the article then it is considered not supported. I have checked on this and found that our development team is still working on this in order to support Cordova for iOS apps"
I would like to check with you about the timeline of release for the Cordova iOS plugin?
At the moment, we are less than 3 months to EOL for MDM. We need a bit of time to implement and test this for all of our applications. This is really a big risk in our business and appreciate the support and help we can get.
regards,
Myla
The text was updated successfully, but these errors were encountered: