It Worked on Android, but Not on iPhone!? Developing a PWA with AI Taught Me the Walls of Folder Management and Operating Systems
[Part 6] Home screen installation, full screen, file management: The realities of solo development from the perspective of Japan’s smartphone market.
1. AI Can Build Apps. But Beyond That Lay the Wall of the OS
Around January 2026.
Using Google’s Gemini, I was developing a music player using the framework known as PWA.
My initial goal was to build my own replacement for “STEEZ,” a dance practice app on the iPod touch I had used for many years.
Repurposing an unused Android smartphone to make a music player with only the features I needed.
At first, it was just a modest idea like that.
However, as I developed the app, more and more concerns gradually began to surface.
Where should the music files be stored?
Can’t I load all the music inside a folder at once?
Can’t I add or delete files?
And fundamentally, can’t I use a PWA just like a regular smartphone app?
As I started pondering these questions, an entirely different issue emerged—one completely unrelated to whether AI could write code.
What apps are allowed to do differs between Android and iOS.
This difference is not merely a matter of programming languages.
It relates to the design philosophy and security approach of the OS itself.
And I felt that this issue is something that individual developers using AI to build apps will not be able to avoid going forward.
2. In the First Place, How Does a PWA Differ from a Regular App?
PWA stands for Progressive Web App.
Put simply, it is a mechanism that delivers an experience close to that of a native smartphone app while using web technologies such as HTML, CSS, and JavaScript.
Typically, you use a website by entering a URL into a browser or opening a page from search results.
A PWA is also basically accessed via a web URL, but in supported environments, you can add an icon to your home screen and launch it like a native app.
For instance, I was testing the music player I was building at the time by opening it in an Android browser.
This approach offers major advantages.
You don’t need to develop separate Android and iPhone apps from the start.
You can build a single web app and run it in each platform’s browser.
Of course, that doesn’t mean every feature works identically.
Even so, it was a very convenient setup for initially prototyping a simple app using AI.
However, once you actually use a PWA, you realize that running in a browser is different from being easy to use as an app.
3. Without an icon on the home screen, it doesn’t feel like an app
The first thing that bothered me was how the app was launched.
For example, suppose you want to play music on your smartphone.
With a normal app, you just tap an icon on your home screen.
However, with a PWA running in a browser, opening and using it via a URL feels no different from a regular website.
Of course, you can also open it from your browser bookmarks.
Still, when you think of it as a tool you use for daily work, being able to launch it directly from the home screen is definitely more convenient.
That is where the action of adding a PWA to the home screen becomes crucial.
On Android, there are PWAs that can be installed from supported browsers like Chrome.
A PWA that meets the requirements may even appear in Android’s app drawer.
On the other hand, on an iPhone, you can also use it as a web app by adding it to the home screen from Safari.
However, the first thing that bothered me was that users would have to understand this mechanism.
For people accustomed to installing apps from an app store, the process of opening a URL and adding it to the home screen from the share menu is not necessarily intuitive.
Even if it is simple from a developer’s perspective, for the user it represents an extra step.
Even if you can build an app, if the steps to start using it are complicated, that itself becomes a usability issue.
Around this time, I began thinking about things like that as well.
4. If the browser interface remains, it’s hard to use as an app
Another thing that concerned me was how the screen was displayed.
When you open a PWA normally in a browser, the address bar and browser controls are displayed.
When using it as a music player, I sometimes found this display intrusive.
Screen real estate is especially precious on small smartphones like the Rakuten Mini introduced in my previous article.
On an already small screen, even the browser controls end up being displayed.
That leaves even less room to place the app’s actual buttons and information.
This is where PWA display modes come in.
With PWAs, you can specify how the app should be displayed using configuration files such as the Web App Manifest.
For example, by using the standalone display mode, you can hide the browser’s address bar and other elements in supported environments, displaying it much like a native app.
However, there is something to keep in mind here.
Hiding the address bar is not the same as completely taking over the entire smartphone screen.
There are also differences between Android and iOS in how they handle this.
On Android, depending on the supported browser, a fullscreen display that makes greater use of the entire screen is possible.
On the other hand, PWAs on iOS essentially center around the standalone display mode.
Even if you can hide the browser’s address bar to make it display like an app, there are still limitations when it comes to controlling the display, including the OS status bar.
In other words, just because you added a PWA to your home screen does not necessarily mean it can display in the exact same way as a native app.
While actually building a music player, this difference turned out to be an issue that couldn’t be ignored.
And what really caused trouble was managing files and folders.
File management was something I couldn’t avoid when building a music player.
To play music, you need to load music files.
For example, suppose there are 100 music files inside a folder.
On a Windows PC, you can open the folder, check its contents, and copy the files you need.
Because of that, I initially thought it would work the same way on a smartphone.
Select the folder containing your music.
Display a list of the music files inside it.
Pick a song you like and play it.
As a concept, it is extremely simple.
However, when I actually tried to implement it in a PWA, it wasn’t that easy.
While I had the impression that Android handles files relatively freely, there were situations where the same approach couldn’t be used on an iPhone.
What I ran up against here were the limitations of iOS file management.
And around this time, I also began to reflect on the design philosophy behind the iPhone as a product.
5. Can the iPhone really not handle folder management?
I would like to explain this part a bit more precisely.
Even on an iPhone, managing files and folders is possible.
Apple has a standard app called “Files” that allows you to manage files across iCloud Drive, “On My iPhone,” and supported external storage services.
You can also create folders, move files, and rename them.
Furthermore, native iOS apps can access user-selected files and folders by utilizing the document-picking mechanism provided by Apple.
In other words, iOS does not prohibit file management entirely.
So why did I struggle so much?
That is because the ability to manage files on an iPhone is entirely different from being able to freely manipulate files and folders from a PWA running in Safari.
There was a huge difference here.
6. iOS Security: Separating Storage Areas by App
In iOS, the data storage area is segregated for each app.
This is a mechanism commonly referred to as a sandbox.
It prevents one app from freely reading or overwriting files stored by another app.
This plays a crucial role in terms of security.
For example, what if an app you casually installed could read stored data from other apps without permission?
If personal information and critical documents could be freely retrieved, it would pose a massive risk to users.
To prevent such problems, Apple restricts the access scope of apps.
However, it is not completely closed off.
For native apps, mechanisms are in place to allow users to select files through their actions and grant the necessary access permissions.
Therefore, if developers use appropriate methods, they can create apps that handle files even on an iPhone.
However, what I was developing at the time was not a native app to be published on the App Store.
It was a PWA running in a browser.
This is where a difference in available features emerged.
7. PWAs Cannot Use Every Smartphone Feature
Web technologies provide mechanisms for handling files.
For example, you can open a file picker from a web page and have users select a file.
With this approach, even a compatible iPhone can read files.
However, reading a file selected by a user and continuously managing a specified folder are two entirely different things.
Consider features like the following, for example:
Displaying a list of files inside a folder once it is selected.
Automatically updating the list when a file is added.
Writing new files to the same folder.
Overwriting and saving existing files.
When implementing such features, a mechanism called the File System Access API comes into play.
As of 2026, some browsers such as Chrome provide features that let users grant permission to select folders and read or write files.
Support for these APIs has also been progressing in Chrome for Android.
However, the same file and folder selection APIs are not available in Safari for iOS.
As a result, code that worked in Chrome on Android might not work the same way in Safari on an iPhone.
This is the crucial point:
Even if the HTML, CSS, and JavaScript are identical, the available features are not necessarily the same when the browser and OS differ.
For me, developing a single PWA using AI, this was a major wall.
So, I Tried Using Office Apps on iPhone
At the time, I was also trying another approach.
The idea was to install an office suite app for iPhone and place files inside the folder used by that app.
Office apps come equipped with features for saving and organizing documents and data.
I thought that, unlike typical file management methods, I might be able to utilize the folders managed by those apps.
So, I placed test files into the storage area of such apps to see how much I could actually do with them.
This was quite an analog process of trial and error.
Even though I was having AI write the code, what I was actually doing was installing other apps on the iPhone, searching for folders, and moving files around to test them.
However, this method also had its limits.
Even if the office app’s folder became visible, that alone didn’t mean the PWA could freely read and write to it.
The areas accessible through iOS’s “Files” app and the scope of operations permitted to a Safari PWA do not necessarily match.
Even if a user can select and load a file, it does not necessarily mean they can freely manage the entire folder where that file is located.
Back then, I moved development forward while verifying these differences one by one.
8. Being Able to See a Folder and Being Able to Manipulate It Are Two Different Things
If you have been using Windows for a long time, you tend to assume that if you can see a folder, you can work with the files inside it.
However, that is not necessarily the case on smartphones.
For example, even if you can open a folder from the iPhone’s “Files” app, permission to access that folder is not automatically granted to other apps.
This difference is hard for users to notice.
However, it is extremely important for developers.
Being able to select a file.
Being able to load a file.
Being able to save files.
Being able to overwrite and save to the same file.
Being able to manage the contents of a folder all at once.
At first glance, these seem like similar features, but in reality, they sometimes require completely separate mechanisms.
At this point, it is no longer just about building a simple music player.
You have to think through your app’s design while understanding the mechanisms provided by the OS.
9. Can you do anything freely on Android?
So, does Android solve all these file management problems?
Actually, not necessarily.
Android also has mechanisms that restrict the files and folders an app can access.
In recent years in particular, storage access restrictions have been tightened to protect user privacy.
Native Android apps have a mechanism called the Storage Access Framework.
This allows users to select files or folders and grant the app access strictly to what is needed.
However, starting with Android 11, certain locations—such as the root of internal storage—can no longer be selected as targets for folder access.
In other words, just because it’s Android doesn’t mean you can manipulate everything freely.
Furthermore, there are differences in available capabilities between native Android apps and PWAs running in an Android browser.
This is a crucially important point.
You must consider not only the OS differences between Android and iOS, but also the differences in development approaches between native apps and PWAs.
10. As of 2026, how far have PWAs on iOS evolved?
From here, rather than focusing on the development experience back then, let’s take a look at the situation as of November 2026.
Apple has been gradually improving how iOS handles web apps.
In particular, in iOS 26, the mechanism for opening websites added to the Home Screen as apps was changed.
Previously, depending on the website’s settings, it might display like an app or open in a regular browser.
In iOS 26, a setting was introduced to open sites as web apps when adding them to the Home Screen, basically allowing websites to launch as apps.
This is a welcome change for PWA developers.
However, being able to open as an app from the Home Screen is not the same as having the same permissions as a native app.
This does not mean that all file management constraints have been eliminated.
For example, to store files inside a PWA, you can use a mechanism called the Origin Private File System, commonly known as OPFS.
This is a dedicated storage area managed by the browser.
However, unlike regular folders that users freely access in Windows File Explorer, it functions differently.
While it is convenient for storing data within the browser, it does not mean you can freely access arbitrary folders specified by the user.
There is still a major difference here.
11. How Long Will iPhone’s Security Restrictions Last?
I began to think about this issue a bit.
Apple continues to design with a focus on security and privacy.
There are rational reasons behind that philosophy.
On the other hand, it is also natural for users to want to manage the files they saved using the apps of their choice.
Going forward, it is possible that web apps will also be able to manage folders more flexibly within the scope explicitly permitted by users.
However, as of November 2026, Safari PWAs are not in a state where they can use folder selection APIs equivalent to Chromium-based browsers.
At this stage, it is unknown when this restriction will be eased.
Furthermore, from a security standpoint, it is likely that these restrictions will remain in place going forward.
This poses a difficult dilemma for developers.
You cannot design an app based on the assumption of features that might be supported in the future.
You need to think based on features that are actually available right now.
Do you develop in the hope that OS specifications will change, or do you choose a method that can be achieved within current constraints?
I believe making such decisions is crucial in solo development.
12. Which Has More Users in Japan: Android or iPhone?
Here, another aspect I want to consider is the market.
When developing an app individually, the choice of which OS to support directly affects the development workload.
So, I looked into smartphone usage in Japan as of 2026.
A survey conducted by MMD Labo in August 2026 showed the following results.
OS Japan Usage Share: Android 54.1%, iPhone (iOS) 45.6%, Other 0.4%
*MMD Labo, “August 2026 Smartphone OS Share Survey.” Out of a survey of 40,000 men and women aged 18 to 79, aggregated for 34,838 individuals who knew the model of their primary device. Totals may not match due to rounding.
In this survey, Android surpassed iPhone.
Even in Japan, where iPhone users are extremely numerous, the result shows that Android users make up the majority.
However, this is not a complete count of all smartphone users in Japan, but rather an estimate based on a survey.
In addition, this has a different meaning from browser access ratios or unit sales of devices.
Furthermore, the models being used vary by age group.
In the same survey, iPhone 17 was the most widely used device series among teens and people in their 20s.
On the other hand, for people in their 40s through 70s, AQUOS was the most popular series in each bracket.
Of course, which specific model is the most popular and the overall OS share across different age groups are separate metrics.
Even so, it is clear that you need to adjust which models to prioritize for testing depending on your target age group.
13. Considering the Japanese Market, You Cannot Simply Ignore the iPhone
Although Android accounts for the majority, iPhone also stands at around 46%.
Considering these numbers, if you are creating a general smartphone app for Japan, it would be difficult to ignore iOS completely.
For example, suppose you release an app that is only compatible with Android.
There may still be demand for it.
However, people who use an iPhone will not be able to use that app.
Conversely, developing solely for iPhone means excluding Android users from your audience.
So, should you just support both right from the start?
If doing so were easy, there would be no problem.
However, if the behavior and file management specifications differ across operating systems, the burden of development and testing will increase accordingly.
This is where solo developers are faced with a difficult choice.
Capturing a broad market and keeping development burdens low are not necessarily compatible.
Considering this problem, it is not simply a matter of choosing the OS with more users.
I think the rational choice varies depending on the app’s intended use and the required features.
So, as of 2026, what should solo developers choose?
Here, let us organize the current major development approaches.
Development ApproachFeaturesSuitable Use CasesPWASimple to develop using shared web technologies. Features vary by OSDisplaying information, data entry, simple creative toolsAndroid NativeCan use Android features subject to OS permissionsApps that leverage device featuresiOS NativeCan integrate with OS features using Apple’s official APIsFull-fledged apps designed for iPhoneHybrid AppCan incorporate native features while leveraging web technologiesMulti-OS apps that also require device integration
What I chose at the time was PWA.
This is because there was no need to set up a full-fledged development environment right from the start, allowing me to prototype using HTML, CSS, and JavaScript.
Looking back, I don’t think this was a mistake as an initial choice.
However, as development progressed, I came to realize that certain things are difficult to achieve with a PWA alone.
For example, features like ongoing management of files and folders.
If such features are the core of your app, it is worth considering native apps or approaches that combine web technologies with native capabilities, such as Capacitor.
On the other hand, if you only need to read and export files occasionally, sticking with a PWA and having users select files themselves might be entirely sufficient.
In other words, you don’t need to choose the most feature-rich development method right from the start.
You just need to choose the necessary development environment based on what you want to build.
Looking back now, that might be the most rational way of thinking.
14. Another Approach: Handling File Management Entirely Within the App
Here, there is also a slightly different way to look at it.
If you cannot freely manipulate the OS folders, one approach is to provide a dedicated file management feature inside the app itself.
For example, the user first selects and loads a file.
The loaded file is then managed within the PWA’s internal storage area.
Within that storage, you create categories equivalent to playlists or folders.
When needed, you allow files to be exported externally.
By doing this, even if you cannot freely manipulate the OS’s normal folders, you may still be able to implement the management capabilities your app requires.
However, browser storage areas also have limitations.
You need to consider factors such as available capacity, conditions under which data might be deleted, and how data is handled between the browser and a PWA added to the home screen.
Especially when handling important data that users store over the long term, providing external backup and export features becomes crucial.
This is because the level of reliability required for data storage differs between apps that handle temporary data and creative software meant to be used for many years.
This way of thinking isn’t merely about working around the constraints of PWAs.
It relates directly to software design itself—how users store data and how they migrate it to other environments.
15. AI writes the code, but OS restrictions don’t disappear
Looking back this far, both the fun and the challenges of solo development with AI become clear.
If you ask Gemini, it will generate HTML and JavaScript code for you.
It can create a button to load files.
It can create a playlist screen.
It can even create a UI for managing folders.
However, just because the visual interface for folder management is complete doesn’t mean the OS will permit those operations.
This is the crucial point.
AI can write programs.
However, AI cannot make Web APIs that iOS doesn’t provide suddenly available for free use.
Conversely, even if a usable API exists, there is no guarantee that AI will implement it properly.
The scope permitted by the user.
The features supported by the browser.
The operations allowed by the OS.
You must choose your implementation method only after verifying these conditions.
I believe this is slightly different from a problem that will automatically be solved simply as AI capabilities improve.
No matter how capable an AI is, the realities of OS specifications and security restrictions will always remain.
16. Was Choosing a PWA a Detour?
Looking back now, there may have been parts where I could have avoided trouble if I had developed a native app from the very beginning.
However, I don’t necessarily think so.
To begin with, my initial goal was simply to make a music player for myself.
I had no intention of selling a full-fledged app either.
When I consider whether there was a need to develop separate native apps for Android and iOS at that stage, doubts remain.
Precisely because it was a PWA, I could easily create prototypes.
I had Gemini generate the code and checked it in the browser.
If there was an inconvenient part, I fixed it.
I ran it on Android and tested it on iPhone as well.
And then, I noticed the differences between the OSs.
Precisely because I had this experience, I came to think about app architecture, storage methods, screen displays, and OS permissions.
If I had used a fully established development environment from the start, there might have been fewer opportunities to become aware of such issues.
Of course, if your development purpose is clear and the necessary features are already determined, choosing an appropriate development method from the beginning is more efficient.
However, in my case, I was at a stage of learning while building.
In that sense, I think the choice of a PWA was well worth it.
And Once Again, I Thought About the iPod touch
Here, I return to where it all began.
In the first place, the reason I thought of building an app myself was that it became difficult to keep using STEEZ, an app I had used for many years, due to circumstances such as the end of its distribution.
I searched for my old iPod touch, looked into backups, and tried somehow to keep using the app.
However, once I started building apps myself, I ended up having to think about iOS file management and browser limitations.
It’s a curious thing.
At first, it was simply a matter of wanting to keep using apps I was already familiar with.
Yet, once I began developing on my own, the inconveniences I had felt as a user started appearing as challenges on the developer’s side.
What is convenient for users and what offers freedom to developers are not necessarily the same thing.
Strengthening security protects users.
However, those limitations can also narrow down the options for features that can be developed.
Increasing freedom might make it easier to build convenient apps.
Yet, if the accessible range is too broad, security issues will arise.
This is not an issue where you can easily decide which side is right.
Even so, as an indie developer, it is essential to understand what is possible within the current framework.
17. What I Believe Is Important in Solo Development
Around January 2026, I was still using free AI to continuously build simple PWAs.
However, when you build apps, new problems arise one after another.
Code length.
The AI being dragged down by past UIs.
Smartphone screen sizes.
Usability on actual devices.
Integrations with external services like YouTube.
And this time, the difference in file management between Android and iOS.
These were issues that could not be solved simply by having AI write the program.
Rather, they were problems that I had to think about precisely because I had become able to build apps.
What I felt here was that in development using AI, there are situations where understanding the surrounding conditions becomes more important than programming itself.
Which OS will it run on?
Which browser will be used?
What kinds of files will be handled?
Where will they be saved?
What level of security is required?
And who will be using it?
Even if you generate code without considering these factors, it won’t necessarily result in a genuinely usable app.
AI has dramatically changed the means of building applications. However, it hasn’t completely eliminated everything that needs to be considered to make an application truly viable.
Initially, I only intended to build a DIY music player.
However, as I confronted these issues one by one, my understanding of software development itself gradually deepened.
And before I knew it, I found myself thinking not just about making an app that works, but about what it takes for software to remain usable over the long term.
I plan to continue documenting this kind of trial and error going forward.
That’s because there are still so many things I never would have understood without actually trying to develop it myself.
#Android #Apple #Chrome #PWA #iPhone #Web #Safari #IndieDev #Programming #IndieDevDiary #AIDevelopment