Testing apps on a Firefox OS Phone Device - firefox

I have the Keon from geeksphone. The Mozilla developer site talks about using the emulator, but nothing about installing an application onto a physical device. It is a developer phone, so I assume there's a way to develop with it? I can host the app and test it in the phone's browser, but I'd prefer trying to package it up and actually install it onto the device.
Found it. Now I need to figure out how to install an XPI file...
Testing Packaged Apps
Android bridge API

Now I need to figure out how to install an XPI file...
XPI files are add-ons, which FirefoxOS does not support at the moment.

You want to install FirefoxOS Simulator addon file which is in .xpi format? If yes then just drag and drop the file onto Firefox Browser, it will get installed.

Related

Mac Catalyst, unable to create a Safari Extension

I've started a new iOS project enabling the option to deploy the same app in macOS (Catalyst). But when I try to create a Safari Extension in macOS, I get the following error
'Safari Extension.appex' is a Safari extension, which is not available when building for Mac Catalyst. You may need to restrict the platforms for which this app extension should be embedded in the target editor.
In the target editor Frameworks, Libraries and Embedded Content I've selected only the macOS platform in my Safari Extension, but I get the same error, any clue?
thanks for your time
I've received an answer from Apple
Embedding a Safari App Extension in a Catalyst app currently isn't
supported. If you could file a piece of Feedback in Feedback Assistant
that would be very helpful. Thanks!
https://forums.developer.apple.com/thread/122485

Create a "Safari App Extension" for macOS application created with Electron?

Since the release of "Safari App Extension" I have toyed around with creating safari app extensions for native applications using xcode. Now however, I'm attempting to create an extension for an application that was built using the Electron Framework.
I'm wondering if this is possible and if anyone has had any luck accomplishing this goal. I'm unsure how to go about initiating the safari app extension without the use of xcode.
For those unfamiliar with "Safari App Extension" you can add one to an existing native project by opening a MacOS application, going to "File->New->Target->Safari Extension" this will then create the extension within your existing application and make the extension available within Safari->Preferences->Extensions.
Thank you for reading.
I'm not secure if what I'm saying it's true, but I think that Safari Extensions are writed with Safari apis and/or a language that it isn't javascript (because, on my old Mac, I needed to install an adblocker app with .app extension). The problem is that Electron is based by Chromium and requires javascript and Chromium based extensions. If you want, however, you can do the inverse.
If you are not expert with Chromium extensions, I suggest to you this link.
P.S.: You can also try to find the same or similar extension that works on Chromium.

Wireless Distribution of AD-HOC Builds in XCODE

Currently i use TestFariy for beta app distribution, which works some of the time.
Reading its apparently possible to build own .ipa file place it on a web server and using safari to download it onto devices.
I have been having a play but don't seem to be able to get it working.
We have a standard developer license.
I archived app and included the manifest file.
I placed both files onto the webserver along with a html file that basically provides an event to download the file
Install App
Now in safari on devices when i hit the button on the link i get the popup asking if i like to install, i select yes and i then just get a new icon with 'Waiting' and it hangs here, no error messages just stays on 'Waiting'.
Anyone any ideas?
Thanks

Xcode iOs Simulator - native websites check before going online

I am downloading the Xcode from the app store to check how my websites will look on different devices. I know how to use the iOS simulator but for websites that are already online. Is there a way to check how a website looks like when i have it native on my mac? I mean when i am at the development stage of the website before put it online, is there a way to check it on the iOs simulator?
Thanks
The simulator contains a version of Safari that can access the outside world via your Mac's network connection. So you don't have to do anything — just type in the address as with any other browser.
You can also drag and drop local HTML content (or anything else the simulator's miniaturised suite of apps can handle) directly onto the simulator to preview without uploading anywhere.

Failed to flash file gapps-jb-20130813-signed.zip genymotion

Why am i getting "failed to flash file gapps-jb-20130813-signed.zip genymotion" this error when i am trying to install Google apps on Genymotion simulator.
I just drag n dropped >>gapps-jb-20130813-signed.zip<< and gave this error.
Please let me know if anyone else has faced the same issue and the fix.
I also faced same issue I sort it by downloading the correct GApps meant for particular android version.Here is the list:
Google Apps for Android 6.0
1) (https://www.androidfilehost.com/?fid=96042739161891406 -
gapps-L-4-21-15.zip)
2) (https://www.androidfilehost.com/?fid=24052804347835438 -
benzo-gapps-M-20151011-signed-chroma-r3.zip)
Google Apps for Android 5.1
(https://www.androidfilehost.com/?fid=96042739161891406 -
gapps-L-4-21-15.zip)
Google Apps for Android 5.0
(https://www.androidfilehost.com/?fid=95784891001614559 -
gapps-lp-20141109-signed.zip)
Google Apps for Android 4.4.4
(https://www.androidfilehost.com/?fid=23501681358544845 -
gapps-kk-20140606-signed.zip)
Google Apps for Android 4.3
(https://www.androidfilehost.com/?fid=23060877490000124 -
gapps-jb-20130813-signed.zip)
Google Apps for Android 4.2
(https://www.androidfilehost.com/?fid=23060877490000128 -
gapps-jb-20130812-signed.zip)
Google Apps for Android 4.1
(https://www.androidfilehost.com/?fid=22979706399755082 -
gapps-jb-20121011-signed.zip)
Google Apps for Android 2.3.7
(http://www.mediafire.com/download/bs063kb0m742o5l/gapps-gb-20131027-signed.zip- gapps-gb-20131027-signe.zip)
Note: For Android 6.0 ,you need to flash first .zip i.e(gapps-L-4-21-15.zip)and reboot .Then you need to sign-in to your google account and then flash second .zip (benzo-gapps-M-20151011-signed-chroma-r3.zip.) and reboot again.
Hope it helps ...Cheers
Feb-2016
Download and install GAPPS APK from the official website.
Grant root permissions to the app and click next
This app will automatically detect CPU Architecture and Android version. please note it down
Then go to OPEN GAPPS WEBSITE
And then select desired Platform , Android version and Variant and click download button.
After downloading Gapps.zip file. Now Drag and Drop GApps.zip , Genymotion-ARM-Translation one by one then restart Genymotion.
Completely remove your Virtualbox and Genymotion. There are old registry files hidden in your computer which are preventing you from flashing Gapp properly.
Here are few links teaching you how to uninstall Genymotion and Virtualbox:
uninstall-genymotion-genymotion-removal-genymotion-windows-uninstaller
Don't download their software because it doesn't remove everything
how-to-uninstall-virtualbox-drivers-on-windows
And finally there should be a Genymobile folder in your
User -> (Username) -> AppData -> Local folder
Hope that helped
This issues is faced while you put this file in something wrong version of genymotion devices.
here you can get proper guide line for installing the gapps files in genymotion device,
it will be a different for all the version.so might be your file would not suitable for your version, so please follow the guideline
That'll happen when you're trying to install flashable gapps meant for a different api version. Make sure the device you're emulating in genymotion is the version the gapps is meant for.
Follow this guide: http://inthecheesefactory.com/blog/how-to-install-google-services-on-genymotion/en

Resources