The function call is returning false even after the extension is installed properly.
This is tied to the problem where the extension is not available on Safari 8 on some pages. We have a way to test if the extension is installed on our website. We use this right after the install process to ensure that the user has this setup correctly.
However this call is failing and returns false even if the extension is installed correctly. Now this is happening on the page where the extension install began from. If I open a fresh new tab, the call responds with true.
This seems to be related to
https://getsatisfaction.com/crossride...
and
https://getsatisfaction.com/crossride...
I have also tried to change my install process where I open the tab (to our website) from the extension itself so I can show a confirmation message. However the extension check fails here as well.
Help get this topic noticed by sharing it on
Twitter,
Facebook, or email.
Twitter,
Facebook, or email.
-
Hello Abhishek,
I understand that you are having an issue with CrossriderAPI.isAppInstalled. Usually, this works without problems and hence in order to assist further I need to take a closer look.
Therefore, please provide as much of the following information as possible and I will investigate:
- The extension id
- The file/line number where the code snippet can be found
- Which browser and operating system you are testing on, including version numbers
- The exact steps for reproducing the problem
- Any additional useful data, such as URLs, screenshots, videos, ...
-
-
1. The extension id -- 68111
2. The file/line number where the code snippet can be found -- N/A as I am calling isAppInstalled from my website using crossrider APIs
3. Which browser and operating system you are testing on, including version numbers - Safari 8 on Yosemite
4. The exact steps for reproducing the problem -- Install the extension from my website and then let the extension open a new tab after install. This new tab opens to our website itself where the isAppInstalled code runs. This code returns with a false on the extension install.-
What's the URL to the website where isAppInstalled is called?
-
-
Shlomo,
Its a private website at this point and will need a user account.
Could you try this on your test/demo site? Once extension is installed open that page in a tab from the background scope. Once opened, on that page run the isAppInstalled and see the results. -
-
-
-
-
EMPLOYEE
1Hello Abhishek,
I tested with our demo extension on OSX 10.10/Safari 8 and test page and the extension is detected as expected (see image).
In absence of access to the installation page, I can only guess it's an issue with your setup.
-
-
Shlomo,
Did you open this webpage from the extension after it gets installed?
In my extension post install I call the following to open the page to my website.
appAPI.openURL({
url: 'http://www.mywebsite.com/installpagec...',
where: "tab",
focus:true
});
Bear in mind, not to use the Thank You page setting for this. Open it from the background to the URL. I do this as I have a need to send the user to a dynamic URL.
Let me know if that works as well.
I do understand the limitation in not being able to share code. Maybe we can setup a session where I screenshare this with you.
Thanks for your help -
-
Hello Abhishek,
I reproduced the scenario as suggested, i.e. I cloned the original demo extension, removed the TY page and added the background code to open the test page. As before the results show that it works as expected (see image).
Are you running your post installation test page in a protected environment or localhost? Maybe this is causing you the issue.
-
-
Shlomo,
Can you elaborate on protected environment? Our website loads up on https, would that have anything to do with it? Its not on localhost.
Can you share the test code you tried? I will deploy the page in our environment and try it out.
That will help me compare and debug.-
Please email support@crossrider.com with a reference to this thread and I'll provide you with a zip of the code.
-
-
-
-
Loading Profile...




