Comments (3)
Hi @tallain-rivaengine
We tried on iOS 17.4 with Outlook 4.2414 and were not able to reproduce the issue. Can you help us with the following queries for further debugging?
-
Are you able to run any other add-in?
-
Please capture the logs and send it to us . Instructions on how to collect logs - https://github.com/OfficeDev/office-js/wiki/Collecting-log-files-for-Outlook-Add%E2%80%90ins-issues
-
Please add a try catch in office.initialize and print the error in catch and let us know the error.
Office.initialize = function (reason) {
try {
console.log(Office.initialize(): Huzzah!
);
}
catch(ex){
console.error(Office.initialize(): Error! ${ex}
);
}
}; -
Is this add-in published? If not, can you share a manifest which we can use for testing?
from office-js.
Hi @tallain-rivaengine We tried on iOS 17.4 with Outlook 4.2414 and were not able to reproduce the issue. Can you help us with the following queries for further debugging?
- Are you able to run any other add-in?
- Please capture the logs and send it to us . Instructions on how to collect logs - https://github.com/OfficeDev/office-js/wiki/Collecting-log-files-for-Outlook-Add%E2%80%90ins-issues
- Please add a try catch in office.initialize and print the error in catch and let us know the error.
Office.initialize = function (reason) {
try {
console.log(Office.initialize(): Huzzah!
);
}
catch(ex){
console.error(Office.initialize(): Error! ${ex}
);
}
};- Is this add-in published? If not, can you share a manifest which we can use for testing?
- Are you able to run any other add-in? Yes
- Incident ID: EQS9NX52
- copied the code, and there are no logs printed in the try and catch
- Yes, we are working on a sample manifest but we are afraid that cannot replicate easily
I am not sure if this will help things clear, but to give some background and the usage.
we are using this as part of the graph non-Sso fallback flow for the mobile device
Office.context.ui.displayDialogAsync(myloginUrl)
myloginUrl is an action method that gets the graph configuration on the server side and redirects the user to the MS AuthorizationRequestUrl, after the user inputs the credentials in the ms356 login prompt (hosted by the child dialog), it will redirect to a callback URL that contains the auth code, (the callback URL is configured in the Azure App Service), the callback URL will hit our action method, that rendering the view along with the auth result, inside of this view page, there is only the code that does Office initialization and Office.context.ui.messageParent(authResult)
we tried to remove Office.context.ui.messageParent(authResult), only keeping Office initialization and logs, as well as the test code, but it never hit the logs. And there is no exception in the parent or any events.
This flow worked for 2 years but stopped after IOS was upgraded to 17.4. IOS 15 and all Android platforms work as before.
We came out with a workaround that set the auth result in the localstroge. but we found the diag. close() in parent won't close the diag, no exception or event was captured. And this is also happened only in IOS 17.4 and above.
from office-js.
@YmaRivaEngine Can you try one of the display dialog samples for Outlook and let us know if it works on iOS 17.4 for you?
from office-js.
Related Issues (20)
- Unable to publish manifest file - support URL is not accessible HOT 10
- I have developed an outlook add-in. It is working fine in web version. But not working in desktop outlook app. HOT 17
- Excel add-in not updating for some clients HOT 7
- getUserIdentityTokenAsync returning failed "An internal server error" HOT 11
- insertFileFromBase64 causes accumulation of styles HOT 2
- Failed to install or load custom functions addin On microsoft 365 Web Production HOT 5
- Excel Add-in online - function wizard function arguments broken HOT 4
- Office.context.document.getFileAsync return corrupted file
- Excel Taskpane Add-in Iframe Unable to load blob URLs HOT 2
- Support drag and drop on OfficeJS addins Outlook HOT 10
- After publishing a new version on the partner center, user's Excel application crashes when attempting to update the add in HOT 8
- Office.context.mailbox.item.internetMessageId is empty HOT 13
- Refresh the docProperty field in Ms Word onlline document HOT 2
- How to upload powerpoint office addin manifest.xml in the Admin Center? HOT 9
- MS Powerpoint Addin : Insert Slide from Base 64 Powerpoint addin API does not carry over the original formatting of the slide #2780 HOT 3
- Outlook Add-in will not open in new Outlook for Windows HOT 1
- Office 365 on the web Excel Add-in does not function correctly HOT 8
- Office.context.mailbox.displayNewMessageFormAsync not adding attachment in read mode HOT 3
- Not able to control New Outlook updates. HOT 1
- Not able to disable/reset suggested contacts. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.