Custom Apps

RSS for tag

Design and build customized apps that meet the unique needs of an organization.

Posts under Custom Apps tag

43 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

granting access per device to an iOS app feature
Let's say I have an iOS app on the app store. Anyone can download and use it, but I would like to restrict the app from granting access to certain features to a select set of people I can personally vouch for. So, for example, to get access, the app send email to me, you have to convince me I know you, and if you do, I send you back some kind of token string which you can enter into the app. However, I'd like for that token to not be shareable, and to be locked to that device. Is there any kind of persistent ID associated with a device that I can use to tie the token I grant to that persistent ID? Or can someone suggest a way that once I trust a user, I can give them a token which will cannot be shared to anyone else? Also, does anyone know if restricting access to app features in this way is any kind of issue with regards to the app review process? The app itself is free, and there are no in-app purchases. I simply don't want certain features of the app (which end up sending push notifications) to get abused.
2
0
605
Apr ’24
The option to "Make a version unavailable for download" is broken
Need help as the the option to "make a version unavailable for download" is broken. 1- Go to the app store and select your app 2- On the left menu scroll down and click on "pricing and availability" 3- Scroll to the bottom to "Edit your last-compatible version for iOS apps" and expand the section 4- Click on the app versions 5- On the new pop-up window un-check the boxes for the versions you need to remove and click done. HERE IT IS BROKEN.
1
0
544
Apr ’24
Help with enabling developer mode on iPhone 12 Pro, iOS 17.3.1
Hi! I need a little help here. I want to use my iPhone with Xcode, and I'm building an app that I want to preview on my device. The developer mode in Settings - Privacy and Security - Developer Mode won't enable. I click the switch to the green on, the device prompts me to restart, I restart it and then there is no last pop-up after the restart completes to confirm enabling. The option is also still off in Settings. I have done the process multiple times and still nothing. I have also tried manually enabling it from the Mac but also it fails with error 1. The full output from the Mac is: Request failed: An unknown error has occured 00008101-0005048E2251003A: Failed to enable Developer Mode (1) Does anyone know of a way to fix this or any recommendations? I have tried Reset all settings, fiddling with the WiFi, and adjusting Find My iPhone (although I don't think those have anything to do with Developer Mode). Any help is very appreciated.
0
0
633
Apr ’24
AppClip on Custom Apps
We are trying to develop an app with AppClip functionality because we believe that launching an app with AppClip as the driving force is very good. Since it will be an app for employees, we plan to distribute it via MDM and links, so we will not publish it on the AppStore. I know you said in a past forum that you did not support AppClip 3 years ago, but I would like to know what the current status is. https://developer.apple.com/forums/thread/652854
1
0
741
Jul ’24
Error accessing webkitSpeechRecognition() in my pwa application
I use the Vue.js 3 language, together with Typescript, I created a pwa application and I want to create a voice button, but when I use this button created in my safari it works, when I add my application to the IOS home screen, it no longer works, I tested it with different versions of Ios. an example of my code: <template> <div class="app-container"> <span @touchstart="startRecording" @touchend="stopRecording" class="no-select microphone-button" > <el-icon :style="{ transform: isActive ? 'scale(2.3)' : 'scale(1.5)' }" id="microphone-button-margin"> <Microphone /> <span v-if="isActive" class="recording-indicator" /> </el-icon> </span> <p>Texto Reconhecido: {{ recognizedText }}</p> </div> </template> <script setup lang="ts"> const recognizedText=ref('') let recognition: any=null const isActive=ref(false) onMounted(() => { recognition = new (window as any).webkitSpeechRecognition() }) const startRecording = () => { isActive.value = true recognition.lang = 'pt-BR' recognition.continuous = false ElMessage.error('Start') recognition.onresult = (event: { results: { transcript: any }[][] }) => { ElMessage.success(event.results[0][0].transcript) const transcript = event.results[0][0].transcript recognizedText.value = transcript } recognition.start() } const stopRecording = () => { isActive.value = false ElMessage.error('Stop') if (recognition) { recognition.stop() } } </script> link code: [https://element-plus.run/#eyJzcmMvQXBwLnZ1ZSI6IjxzY3JpcHQgc2V0dXAgbGFuZz1cInRzXCI+XG5pbXBvcnQgeyByZWYsIHZlcnNpb24gYXMgdnVlVmVyc2lvbiwgb25Nb3VudGVkIH0gZnJvbSAndnVlJ1xuaW1wb3J0IHsgdmVyc2lvbiBhcyBlcFZlcnNpb24sIEVsTWVzc2FnZSB9IGZyb20gJ2VsZW1lbnQtcGx1cydcbmltcG9ydCB7IE1pY3JvcGhvbmUgfSBmcm9tICdAZWxlbWVudC1wbHVzL2ljb25zLXZ1ZSdcblxuY29uc3QgcmVjb2duaXplZFRleHQ9cmVmKCcnKVxubGV0IHJlY29nbml0aW9uOiBhbnk9bnVsbFxuY29uc3QgaXNBY3RpdmU9cmVmKGZhbHNlKVxuXG5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O1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBoZWlnaHQ6IDMwcHg7XG4gIHdpZHRoOiA0MHB4O1xufVxuLnJlY29yZGluZy1pbmRpY2F0b3Ige1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogLTVweDtcbiAgcmlnaHQ6IDEycHg7XG4gIHdpZHRoOiA3cHg7XG4gIGhlaWdodDogN3B4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiByZWQ7XG4gIGJvcmRlci1yYWRpdXM6IDUwJVxufVxuPC9zdHlsZT5cbiIsImltcG9ydC1tYXAuanNvbiI6IntcbiAgXCJpbXBvcnRzXCI6IHt9XG59IiwidHNjb25maWcuanNvbiI6IntcbiAgXCJjb21waWxlck9wdGlvbnNcIjoge1xuICAgIFwidGFyZ2V0XCI6IFwiRVNOZXh0XCIsXG4gICAgXCJqc3hcIjogXCJwcmVzZXJ2ZVwiLFxuICAgIFwibW9kdWxlXCI6IFwiRVNOZXh0XCIsXG4gICAgXCJtb2R1bGVSZXNvbHV0aW9uXCI6IFwiQnVuZGxlclwiLFxuICAgIFwidHlwZXNcIjogW1wiZWxlbWVudC1wbHVzL2dsb2JhbC5kLnRzXCJdLFxuICAgIFwiYWxsb3dJbXBvcnRpbmdUc0V4dGVuc2lvbnNcIjogdHJ1ZSxcbiAgICBcImFsbG93SnNcIjogdHJ1ZSxcbiAgICBcImNoZWNrSnNcIjogdHJ1ZVxuICB9LFxuICBcInZ1ZUNvbXBpbGVyT3B0aW9uc1wiOiB7XG4gICAgXCJ0YXJnZXRcIjogMy4zXG4gIH1cbn1cbiIsIl9vIjp7fX0=) Can anyone help me in this case? I don't know what I could be doing wrong and I also did a lot of research and didn't see anything to help me.
0
0
664
Mar ’24
Seeking Advice: Navigating App Review for Complex, Server-Dependent iOS App
Hello, fellow developers and Apple engineers, I'm reaching out to seek advice and insights on a challenge I've encountered during the app review process for a particularly complex iOS app. Our app is designed to manage communal activities for cities, working in conjunction with desktop software/server, which makes it both large and intricate. Its primary users are specific companies, such as Municipal utilities, across various cities in Germany, each with over 100 devices. The core of the challenge lies in the app review stage. Due to the app's complexity and the necessity for specialized knowledge to understand its full functionality, it seems that the review team faces difficulties in evaluating the app, leading to rejections. It's clear that without training or a deep dive into the app and its server-side components, grasping its utility and operational nuances is challenging. We've attempted to provide detailed documentation but we're still encountering hurdles. Here are some specific questions and areas where we'd appreciate your guidance: Best Practices for Submitting Complex Apps: Are there recommended strategies or best practices for submitting apps that require a deep understanding of specific, non-public functionalities? Communication with Reviewers: Is there an effective way to communicate the necessity of our app's complexity and its server-dependent nature to the review team? Any tips on ensuring this communication is as clear and constructive as possible would be invaluable. Documentation for Review: What kind of documentation have you found most effective in aiding the review process for complex applications? Are there formats or templates that seem to work best? Appealing Review Decisions: For those who have gone through the appeal process with similarly complex apps, what was your experience? How can one effectively convey the app's value and operational context in an appeal? We're committed to ensuring our app meets Apple's standards while providing vital services to our clients. Any insights, advice, or shared experiences in navigating the app review process for similar applications would be greatly appreciated. Thank you in advance for your time and help. Best regards, Dominik
2
0
694
Mar ’24
4.3.0 Design Spam
Hello, I've a team for developing game in my small company. And we've developed an Obstacle game in Unity from scratch. every single UI, logic & even sound is implemented by our own developers and musicians. It means, every single element is proprietory of our own. I suggest you folks to try out the game in Android playstore by searching the game name as "Cherry Blossom Hills Obstacle" . But once I submitted the same game in iOS App store, the reviewers continously saying, it's a 4.3.0 Design Spam without any to the point feedback basically :( Could you anyone help me resolving this issue? A definitive but even single help/suggestion would be highly appreciated. Regards, Md. Rezoanul Alam.
1
0
930
Feb ’24
How to reference a button created using three different forEach loops
Hi there, I'm working on an app that provides the user a prompt. They have to select the matching button. These butttons are created in three separate rows using three forEach loops acting on a customised button made from a Struct. ForEach(0..<10) { column in AlphabetButton( gameViewModel: gameViewModel, letter: String(alphabetTop[column]), borderColor: $borderColor.wrappedValue, onTap: buttonTapped) }} alphabetTop is an array storing letters used as the buttons label and value, and there are two other arrays with the other letters. What I'm wondering, is if the user presses a button that doesn't match the prompt. How can I make reference to the button that does match the prompt. For example, I want to make the border of that correct button flash Orange if the wrong button is pressed. I am making a keyboard app as a bit of practise in learning SwiftUI, so any assistance you can provide would be most helpful. One potential solution I've thought of, do I make the buttonTapped function, check every button in the array to see if it matches the user prompt and then change that buttons border color, however I still am unsure how to do that. Let me know if there is other code I should share that would be helpful.
1
0
616
Feb ’24
Swift TableView: Saving Text from TextField
For the past few months, I’ve been learning about Swift coding. I’m relatively new to the coding field so this may seem trivial to some. Here’s what I’m trying to do: I cannot get the data saved from regular textboxes to appear in the table I've designed on the storyboard. It is clearly saving something to the table rows but I cannot see it. I've looked all over the web but most examples are from old versions of swift/deprecated versions of Xcode and are not applicable. Basically, I’m designing an app for my company that allows quick and easy saving of users that call; I would be able to save their company, name, phone, userid, etc, the app saves it into the table And allows me to reference it later. I'm using core data and I’ve attached all of the code to the appropriate storyboard fields. any insight or errors someone could point out would be very helpful. Here’s my code: import Cocoa import SwiftData import SwiftUI class User: NSManagedObject, Identifiable { let id = UUID() //compatibility @NSManaged public var company: String @NSManaged public var name: String @NSManaged public var phone: String @NSManaged public var uid: String @NSManaged public var cid: String @NSManaged public var tvid: String @NSManaged public var tvpwd: String @NSManaged public var notes: String } class ViewController: NSViewController, NSTableViewDataSource, NSTableViewDelegate { @IBOutlet weak var companyTextField: NSTextField! @IBOutlet weak var nameTextField: NSTextField! @IBOutlet weak var phoneTextField: NSTextField! @IBOutlet weak var uidTextField: NSTextField! @IBOutlet weak var cidTextField: NSTextField! @IBOutlet weak var tvidTextField: NSTextField! @IBOutlet weak var tvpwdTextField: NSTextField! @IBOutlet weak var notesTextField: NSTextField! @IBOutlet weak var tableView: NSTableView! var users = [User]() override func viewDidLoad() { super.viewDidLoad() tableView.dataSource = self tableView.delegate = self } @IBAction func saveButtonClicked(_ sender: NSButton) { let user = User() users.append(user) tableView.reloadData() } // MARK: - NSTableViewDataSource func numberOfRows(in tableView: NSTableView) -> Int { return users.count } // MARK: - NSTableViewDelegate func tableView(_ tableView: NSTableView, viewFor tableColumn: NSTableColumn?, row: Int) -> NSView? { let user = users[row] guard let cell = tableView.makeView(withIdentifier: tableColumn!.identifier, owner: self) as? NSTableCellView else { return nil } switch tableColumn?.identifier.rawValue { case "company": cell.textField?.stringValue = user.company case "name": cell.textField?.stringValue = user.name case "phone": cell.textField?.stringValue = user.phone case "uid": cell.textField?.stringValue = user.uid case "cid": cell.textField?.stringValue = user.cid case "tvid": cell.textField?.stringValue = user.tvid case "tvpwd": cell.textField?.stringValue = user.tvpwd case "notes": cell.textField?.stringValue = user.notes default: return nil } return cell } } ![]
2
0
732
Feb ’24
Use Of Included Scanner software - Filemaker - MBS & Scanning Dialogs
I am working on a Filemaker project, and within filemaker I am using monkey bread softwares addon - which has the capability of adding scanning. The problem I am having is when I pre-populate fields from the Filemaker scripting, it doesn't update the name -- it takes closing and going back into filemaker. I don't know if I'm missing something that I should be including but there's not much help coming from the creator. I thought I'd raise it here to see if there was some traction / familiarity here.
0
0
573
Feb ’24
Failed to load webpage with error unsupported url
I have the following problem: In the Moodle application there is a personalized screen to access some courses, for this a "mustache" file was added to the Moodle code with the following code: &lt;ion-list &gt; &lt;%#Cursos%&gt; &lt;%#.%&gt; &lt;ion-card style="height: 50%;"&gt; &lt;img alt="Silhouette of mountains" src="&lt;%wwwroot%&gt;/theme/almondb/pix/portada.jpg" /&gt; &lt;ion-card-header&gt; &lt;ion-card-title&gt;&lt;%fullname%&gt;&lt;/ion-card-title&gt; &lt;ion-card-subtitle&gt;&lt;%shortname%&gt;&lt;/ion-card-subtitle&gt; &lt;/ion-card-header&gt; &lt;ion-card-content&gt; &lt;ion-list&gt; &lt;a href="moodlemobile://&lt;%wwwroot%&gt;?redirect=/course/view.php?id=&lt;%id%&gt;" data-open-in="app" style="text-decoration: none;"&gt; &lt;ion-item lines="inset" detail="true"&gt; &lt;ion-label&gt; &lt;%fullname%&gt; &lt;/ion-label&gt; &lt;/ion-item&gt; &lt;/a&gt; &lt;/ion-list&gt; &lt;/ion-card-content&gt; &lt;/ion-card&gt; &lt;%/.%&gt; &lt;%/Cursos%&gt; &lt;/ion-list&gt; Custom URLs were used to achieve this. On Android the application works correctly, when you click it takes you to the course screen, however, on IOS it gives an error: "failed to load webpage with error unsupported url" I have tried the following solutions that I found in other forums &lt;meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' 'unsafe-eval' *; media-src 'self' 'unsafe-inline' 'unsafe-eval' *; img-src 'self' 'unsafe-inline' 'unsafe-eval' * data:;"&gt; preference name="WKPort" value="8080" preference name="UseScheme" value="false" &lt;allow-navigation href="moodlemobile:*" /&gt; [Image Edited by Moderator to Remove Personal Information]
0
0
674
Feb ’24
Vinted like article boost
Hello, we are developing an app similar to Vinted. We want to add the "boost your article" option but we would like to be sure this will work with normal payments, instead of in-app payment. Since Vinted app can use normal payments we think this should be no problem, but it may look like an in-app purchase feature and we prefer to be sure before getting rejected by the store and have to re-develop. I think the correct point is 3.1.3(b) Multiplatform Services, but this requires in-app purchases too, which Vinted does not include. Can someone please explain if this is correct behaviour? Many Many Thanks Andrea
0
0
643
Feb ’24
Submitting iOS17 App
I wrote a custom app for an internal group where I control the devices. Internally purchased and managed via MDM. It uses iOS17 features and requires iOS17. The App Review process requires a 5.5" screen shot, but Apple doesn't have a 5.5" screen device that supports iOS17. So I submitted a blank 5.5" screenshot. My app submission keeps getting rejected (for over a week now). The reviewer just keeps ignoring my response. I've called the help phone number and was promised a call back from the reviewer. Nothing so far. I submitted an appeal and they closed it right away because I had submitted it again. How can I escalate this? I need to get this app out immediately.
0
0
652
Feb ’24
Cannot Sell App in Apple Store connect distribution
I am distributing my project as Apple Business Manager, but App Availability gives a Cannot Sell warning in my distribution country and I cannot show my application. My country is Türkiye. Why am I having such a distribution problem? Please I would like detailed information on this subject. Is this a software issue or an issue with my application? My application is currently in 1.0.1 Ready for Sale status and I am trying to distribute my application as Private — Available as a custom app on Apple Business Manager.
2
0
1.2k
Feb ’24
Does the App Store accept Apps that uses Cordova and a mobile framework?
HI, can you tell me if the app store accepts iOS (iphone) apps that are built using either the Onsen-ui or JQM framework that then utilises Cordova to be packaged up. The app also uses a few plugins, i.e, check internet connection etc. I have read different posts over the years saying they don't and on another site saying they will accept. I'm just looking for a definitive answer. I should state what I am developing isn't just a clone of a website but a proper user based application. It is just I don't want to wast time developing the idea if it will ultimately be rejected. Thanks.
1
0
671
Jan ’24
Flutter MSAL SSO with webview
Hi, I am using flutter MSAL SSO with flutter_inappwebview and azure_flutter_authentication package to login to the app. let viewController: UIViewController = UIViewController.keyViewController! let webviewParameters = MSALWebviewParameters(authPresentationViewController: viewController) webviewParameters.webviewType = .default I am trying to open another application in webview by using flutter_inappwebview, so that there will be a silent log in using MSAL SSO option in iOS device. But its not working InAppWebView( key: webViewKey, initialUrlRequest: URLRequest(url: Uri.parse(widget.url)), initialOptions: options, pullToRefreshController: pullToRefreshController, onWebViewCreated: (controller) { webViewController = controller; }, onLoadStart: (controller, url) { logger.d("printing webview controller type: " + controller.runtimeType.toString()); setState(() { this.url = url.toString(); urlController.text = this.url; isLoading = false; }); }, androidOnPermissionRequest: (controller, origin, resources) async { return PermissionRequestResponse( resources: resources, action: PermissionRequestResponseAction.GRANT); }, shouldOverrideUrlLoading: (controller, navigationAction) async { var uri = navigationAction.request.url!; if (![ "http", "https", "file", "chrome", "data", "javascript", "about" ].contains(uri.scheme)) { if (await canLaunch(url)) { // Launch the App await launch( url, ); // and cancel the request return NavigationActionPolicy.CANCEL; } } return NavigationActionPolicy.ALLOW; }, onLoadStop: (controller, url) async { pullToRefreshController?.endRefreshing(); setState(() { this.url = url.toString(); urlController.text = this.url; }); }, onLoadError: (controller, url, code, message) { pullToRefreshController?.endRefreshing(); }, onProgressChanged: (controller, progress) { if (progress == 100) { pullToRefreshController?.endRefreshing(); } setState(() { this.progress = progress / 100; urlController.text = this.url; }); }, onUpdateVisitedHistory: (controller, url, androidIsReload) { setState(() { this.url = url.toString(); urlController.text = this.url; }); }, onConsoleMessage: (controller, consoleMessage) { print(consoleMessage); }, ), How to should I pass the login session from swift code to inappwebview in flutter? Please help me with this. I really appreciate it. Its working fine with android devices. The problem is from iOS devices.
0
0
821
Jan ’24
The link cannot be activated.
Hi all, I am new to Swift and I have found an issue which I can't fix. I use a TabView and if I change the views a few times, and go back to this view I get this error and I can't tab on any of the views any longer in the Navigation Stack. The way to fix it, is to force close the app and reopen it. Error message: "A NavigationLink is presenting a value of type “NavigationItem” but there is no matching navigationDestination declaration visible from the location of the link. The link cannot be activated. Note: Links search for destinations in any surrounding NavigationStack, then within the same column of a NavigationSplitView." Code: struct ToolsMainView: View { @State private var navigationPath = NavigationPath() var body: some View { NavigationStack(path: $navigationPath) { VStack { ScrollView(showsIndicators: false) { VStack { ForEach(navigationItems) { item in NavigationLink(value: item) { HStack(alignment: .center, spacing: 12) { Image(systemName: item.icon) Text(item.title) Spacer() Image(systemName: "chevron.right") } } } } .scrollTargetLayout() } .scrollTargetBehavior(.paging) } .navigationDestination(for: NavigationItem.self) { item in viewMenuItems(item) } } .scrollContentBackground(.hidden) } func viewMenuItems(_ tool: NavigationItem) -> some View { switch tool.menu { case .forms: return AnyView(View1()) case .stage: return AnyView(View2()) case .margin: return AnyView(View3()) case .vat: return AnyView(View4()) case .tvheight: return AnyView(View5)) case .tvsize: return AnyView(View6()) case .cable: return AnyView(View7()) case .project: return AnyView(View8()) case .tasks: return AnyView(View8()) } } } Do you have any suggestions? Thank you
1
0
847
Jun ’24
Apple installer command is returning error when run from a binary with Full Disk Access on Sonoma
I have a go binary that runs from /usr/local/bin. This application has the ability to update itself by downloading the latest .pkg from our company and running it with the installer command. Our application has also been granted Full Disk Access. The command that is run by our application looks like this: installer -pkg /tmp/ourInstaller.pkg -target /. This command works from a terminal (when run with sudo and when the terminal has Full Disk Access). It also has been working on all MacOS version above 10.15. With MacOS Sonoma on the M platform (not on an Intel device), this command has started to give the following error: installer: Package name is Agent Installer\ninstaller: Upgrading at base path /\ninstaller: The upgrade failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An unexpected error occurred while moving files to the final destination.)\n. This is an error we see when our application is not granted Full Disk Access, but as mentioned, our application has been granted Full Disk Access. Also, the installation appears to complete successfully, meaning the files are moved to the correct place, but the installation still errors. It seems to be erroring while copying the new binary to /usr/local/bin. In fact, it cannot copy any file to /usr/local/bin without erroring, even a simple text file. This leads me to believe that it may be erroring on trying to rollback the previous install, but since the binary has Full Disk Access, it is failing to remove the old binary (rightfully so) and so the installer errors. I just want to reiterate that this has always worked, and only with Sonoma on M architecture machines (M1 and M2) has this started erroring.
1
0
700
Dec ’23