Post

Replies

Boosts

Views

Activity

App declined after publishing it to the AppStore
Hello Team, We developed an iOS app, which is one of our product for several customers and even for interested people of the company. It’s not only for employees of the customer.And, we do it white labeled based on the customer requirement, hence the customer is able to add it to the App Store. Now we published the app for one of the customer using Apple Enterprise Program and it is working fine except one thing. Currently the update for the app has to be done manually (Apple devices). This significantly reduces user acceptance. Then we got to know that this is only possible if the app is published on AppStore. Hence customer purchased the Apple Developer account and we submitted the app to the AppStore for the review, however, it was declined by the AppStore review team. Following is the message for the same. Guideline 3.2 - Business - https://developer.apple.com/forums/content/attachment/c50db210-8a95-4bf6-a76f-30143a6439c0 Now my question is, if it does not allow us to publish the app, then what are the other alternatives in order to achieve the user acceptance? Please help on this urgently as it is getting critical for us. We can also schedule a call and discuss the same. Thanks
2
0
784
Aug ’20
Xamarin.iOS WKWebView and WKNavigationDelegate custom renderer Intranet SharePoint links not working
I am working on one Xamarin forms app and I have created custom renderer to use native web views. We have some intranet SharePoint URL links in web view content which is not working in iPhone real device. T he public URL links are working fine but the intranet SharePoint URL links are not working after click on the link the web view content goes hide automatically and the link is also not opening in Safari browser. The strange is it is working fine in simulators. The public URL links are also working fine. The below is our intranet SharePoint URL which is not working in real device and working in simulators. htp://test.demosharepointsite.com/informatik/layouts/15/WopiFrame.aspx?sourcedoc=%7b25F01E60-0EEC-4A6B-BD26-81B2ED1911CA%7d&file=AATenantMigration2in1Device_O365.pdf&action=default) Expected behaviour: When click on the link it should open the URL links in Safari browser. The following is the code snippet of iOS native custom renderer. { 		protected override void OnElementChanged(VisualElementChangedEventArgs e) 		{ 				try 				{ 						base.OnElementChanged(e); 						NavigationDelegate = new AppWKNavigationDelegate(this); 				} 				catch (Exception ex) 				{ 						 				} 		} } public class AppWKNavigationDelegate : WKNavigationDelegate { 		ExtendedWebViewRenderer extendedWebViewRenderer; 		public AppWKNavigationDelegate(ExtendedWebViewRenderer _extendedWebViewRenderer) 		{ 				 				extendedWebViewRenderer = _extendedWebViewRenderer ?? new ExtendedWebViewRenderer(); 		} 		public override async void DidFinishNavigation(WKWebView webView, WKNavigation navigation) 		{ 				try 				{ 						var extendedWebViewModel = extendedWebViewRenderer.Element as ExtendedWebViewModel; 						if (extendedWebViewModel != null) 						{ 								if (webView != null) 								{ 										await System.Threading.Tasks.Task.Delay(100); // wait here till content is rendered 										if (webView.ScrollView != null) 										{ 												if (webView.ScrollView.ContentSize != null) 												{ 														extendedWebViewModel.HeightRequest = (double)webView.ScrollView.ContentSize.Height; 												} 										} 								} 						} 				} 				catch (Exception ex) 				{ 						 				} 		} 		public override void DecidePolicy(WKWebView webView, WKNavigationAction navigationAction, Action<WKNavigationActionPolicy> decisionHandler) 		{ 				try 				{ 						if (navigationAction != null) 						{ 								if (navigationAction.NavigationType == WKNavigationType.LinkActivated) 								{ 										if (navigationAction.Request != null) 										{ 												if (navigationAction.Request.Url != null) 												{ 														UIApplication.SharedApplication.OpenUrl(navigationAction.Request.Url); 														decisionHandler(WKNavigationActionPolicy.Cancel); 												} 										} 								} 								else 								{ 										decisionHandler(WKNavigationActionPolicy.Allow); 								} 						} 				} 				catch (Exception ex) 				{ 						 				} 		} } Can anyone help me out here? Thanks.
0
0
2.4k
Jul ’20
Implement “update and re-install app” functionality programmatically
Hi,I am working in xamarin forms application and using an in-house distribution provisioning profile for iOS distribution. We upload the latest app on one shared link.My requirement is to implement "update and re-install app" functionality programmatically in my application. So that in case of an update, my app can download the latest app from the shared link and install the latest version automatically without redirecting to the browser.Is it possible in iOS? If anyone has any idea then please let me know.Thanks.
0
0
450
Apr ’20