bannerimage
Xcode 10

The newly released Xcode build the system with Xcode 9 by Apple is in the preview mode. The advanced features were not active during that time. The activated Xcode 10 features by default have some issues in the iOS projects since Apple is aware of these, they have separately issued new build system. They have also mentioned possible solutions to tackle those issues.

We are here to highlight the top 5 issues iOS developers might face and they might not be covered in the recent release notes, e.g. Xcode 10 system requirements and the system behaviour of new build with third-party tools.

Xcode 10 Features: The Newly Build System

You can now activate new build settings from Xcode Files-> Project/Workspace Settings with this toggling between legacy and new build system becomes easy. Additionally, if you are building an iOS project right from the command line using the Xcode build then it is required to pass additional parameter such as UseModernBuildSystem=YES.
The latest build system is called as the xcbuild. The new build system elevates the overall swift build by running the targets and its build phases side by side. Once it is activated you will face both its benefits and issues in regard to the new build system in your project. Here we will try to identify the issue and get solutions immediately.

1. The Info.Plist

When an iOS project is built using the new build system you will face several issues regarding the info.plist files. Here are the few things you need to keep in mind regarding New Build System and info-plist files.

  • Make sure there is no duplicate plist file in the copy bundle resources in the build phase of any target. Otherwise you will not be able to create an app with the new build system. Additionally, the files copied multiple times will hamper the functioning.
  • The new build system functions on various precedence of running info-plist step within the clean and incremental builds. In the clean build, you will find that the info.plist steps after processing assets, whereas the incremental build runs before signing.
  • If there only info.plist value and does not have the Xcode reference folders then you will face an Xcode build system failure.

2. The CocoaPods

CocoaPods bring some issues for the iOS projects.

  • With CocoaPods development pods will not be updated unless a clean build is performed. The embedded pods are not executed successfully.
  • Some of the Cocoapods build phase script doesn’t run reliably as you may see disbursement in its behaviour and you might not be able to archive the app.

Hence, this makes it clear that cocoapods and the new build system don’t get along well together.

3. Running the Script Phase

The new build system is full of flaws with the Run Script Phase started giving false results. But this too comes with a good reason.
The new Xcode 10 features have a lot of improvement in the Run Script Phase. However, it requires you to help build processes with the help of feeding files for the run script phase. You will have to specify the input files to the run script phase, this is important to determine whether the script needs to be run or not.
If Xcode build system runs parallel commands then the input for the run script phase will not be generated, this fails the build system as it gets confused. However, providing the input files to run scripts is advisable as when the inputs grow in number it gives a way to specify all the input files in the .xcfilelist format. Hence it is recommended to add the files to avoid running this phase for all the other incremental builds whenever it is not required.

4. Clean Build Folder Action

With the new build system, a clean build folder has been introduced. This introduction eliminates all the derived data of the iOS application causing the cleaner builds right from scratch. This step means if you are using cocoapods all the frameworks will be rebuilt from the scratch and you will face a delay in developing an iOS project. There may be Xcode indexing issues as well.
The new build system by Apple is introduced to improve the performance, reliability, and stability of the Swift build. This system is designed to capture the configuration errors early in the application development phase. In Xcode 10 mascos version so you don’t have a choice and you will have to update the build process to adapt to the new build system. This scenario demands a lot of configuration enhancements in the app.

5. XCCONFIG Files

There are a number of iOS developers might be using .xcconfig files to keep the Xcode build settings at one place for the appropriate goals. There are some queries that conditional variable assignment in the xcconfig files might not work as wanted, because of the build failures. To ensure your xcconfig files, Apple suggested running following command.

defaults write com.apple.dt.XCBuild EnableCompatibilityWarningsForXCBuildTransition -bool YES

If this command displays any errors or warnings, we must have to solve it to get stable builds.

Moving Forward

The recent Xcode 10 release date was September 17, 2018. Let us know have you tried the Xcode code dark mode yet or migrated to the new build system? If yes, what are your experiences? If you wish to share your views or get an issue resolved, get in touch with us without any hesitation.

Written By : Technostacks
Xamarin forms 3.3.0

The most recent release to Xamarin.Forms is the version 3.3.0. Since the Xamarin forms source is available, people have worked hard to recover and remove all the issues as well as bugs related to its previous versions. It is a Microsoft’s C#-based, open source cross-stage portable application development arrangement. The programmers of this tool have mainly worked on the topics such as the concept, image issues, usage of memory and most of the things related to this stuff.

The introduction of Xamarin.Forms 3.3.0

The launch of Xamarin Forms was made by David Ortinau, a Microsoft senior program chief, who declared the Xamarin.Forms 3.3.0. This release is the most recent stable version of the UI toolbox for .NET engineers. This version provides the engineers with a great chance to compose C# code and develop iOS, Android and other mobile based applications.

The three often used controls in these flexible applications are gets, pictures, and checks. They are just pretty much everywhere! The Label feature continues to get a lot of focus on this Xamarin.Forms 3 course of action of “barely noticeable subtle elements” enhancements.

The application enables those things which are vital in building their portable applications and being especially profitable simultaneously.

The importance provided to Label

Designers would now be able to include content enrichment, for example, underlines and strike-through. At the point when joined with past commitments that additional range support of ties and motions, the head developer said that the users and customers who are linked with them and asked for betterment had pinned for the inline hyperlink.

Another group commitment added the capacity to indicate the most extreme number of lines a name can render. Ortinau also said that this feature is super valuable for doing things like showing a couple of lines and including a perused more to exceed the full content.

Enabled support to Android Images

Setting the phase to all future help endeavors on the treatment of pictures is the suitable name, ImageView Handler.

Boost in Memory Usage due to Android Images Support

At the point when this new interface is coupled with GlideX for Xamarin.Forms library, memory use, will be brought down. For instance, a GridPage stacked in Xamarin.Formshit have 268,387,112 bytes of pinnacle memory use, while a similar thing stacked in glides.formshit just has 16,484,584 bytes.

Below is the comparative memory usage table of different pages and forms that will further make the scenario clearer:

Page Loaded by Highest Memory Usage
Grid Page Xamarin Forms 268,387,112 bytes
Grid Page Glidex Forms 16,484,584 bytes
View cell page Xamarin Forms 94,412,136 bytes
View cell page Glidex Forms 12,698,112 bytes
Image cell page Xamarin Forms 24,413,600 bytes
Image cell page Glidex Forms 9977272 bytes
Huge Image Page Xamarin Forms 267309792 bytes
Huge Image Page Glidex Forms 9943184 bytes

WebView for iOS has also been worked on

WKWebView, presented by Apple in iOS 8.0, which is the most recent rendition is 12.0.1, is currently accessible as a choice while using Xamarin.Forms 3.3.0. The formerly used web view is UIWebView which is in action since iOS 2.0. Ortinau noticed that one favorable position of UIWebView is better in reverse similarity, so he said after the release of this form that WKWebView runs Safari in a different procedure and gives better execution, mainly when a user is using programming in JavaScript.

To use the web view WKWebView instead of the former web view UIWebView the user needs to have the following directive. So, go to AssemblyInfo.cs: and add the directive:

[assembly: ExportRenderer(typeof(WebView), typeof(WKWebViewRenderer))]

Development on Xamarin.Forms till now

The Company is working hard in Xamarin.Forms project. If the graph of development of Xamarin.Forms is noticed, the peak is going up and up. The company has till now releases of Xamarin.Forms in 16 categories and each category have a variety of Xamarin.Forms updates that they are constantly providing. The first category to be released was Xamarin.Forms 1.0 and the product was Xamarin.Forms 1.0.1.

The key features of Xamarin forms 3.3.0

  • Android ListView execution enhanced essentially when utilizing viewcell
  • Xamarin.Forms.Platform.WinPhone.ButtonRenderer is open
  • Pages added to MasterDetailPage.Master must have their Icon property set, or an exemption will be tossed while including
  • Android ActionBar never again utilizes an angle
  • EntryCell.Text property is presently a default Two Way official
  • Stepper.Value is currently a default Two Way official
  • More API documentation has been included
  • ConcurrentDictionary is never again uncovered in the API
  • Though this version surely had many bugs, the workers worked on them and removed as much as possible.

New versions offering new features to the user

The Xamarin.Forms updates are still continuing with diverse phases. Each of the new versions offers new features to the user. The latest category release is also being worked out and that is Xamarin.Forms 3.4 and in this category already there were 2 pre version released, i.e., Xamarin.Forms 3.4.0 – pre1 and Xamarin.Forms 3.4.0 – pre2. The latest update here is the Xamarin.Forms 3.4.0 and the release is being done on 15th November 2018. The unique feature in this product is waving to the image button.

The developers in the concerned communities are very talented and proficient. Also since it is an open source code programming area, the developers allow the interested people to send their feedbacks. The developers work according to the needs and requirements of the user. They add the features to each of the updates version by deeply going through the actual needs of the targeted users for each section and category.

The Microsoft senior program chief, David Ortinau praised his teams and groups. David Ortinau said that Xamarin.Forms 3.3.0 incorporates more than 30 bug fixes and sends only 30 days after 3.2.0 significance. So they do not hold the customers too long for the product and were very swift as well as effective with this product releases.

David Ortinau likewise featured a group of easily overlooked details in that 3.2.0 discharge, including redid Title Views, the previously mentioned range motions, catch cushioning and proofreader placeholder shading.

Moving Forward

The Xamarin.Forms developers team has made the full code available in GitHub and are welcoming the developers to check the details, and the code as well as to further find bugs and issues. They will readily accept the bugs, check them thoroughly and update the required issues.

The update for Xamarin.Forms 3.3.0 is available in Nuget and The Little Things Playground Sample. The interested professionals can check the recent updates on which the developers are currently working and pursuing things further.

Written By : Technostacks
Android Pie Features

The latest version of Android 9.0 pie comes with the new interesting features. It involves some of the cool tricks that will alter the ways you utilize Android. These are some of the key additions in the newest version of Android after the preceding few versions which brought some of the important tweaks working with the platform.

Owing to Android’s fragmentation, Pie will gradually roll out to devices in the next few months and won’t look precisely the same on each one.

Whether you have downloaded it by now or are looking to do it, here are the 11 best features to try in Android Pie and be acquainted with the top ones.

Let’s explore the best new features of Android 9.0 Pie.

1. Adaptive Battery and Brightness

The Android platform has a load of automated functionalities and features. And some of the key ones are getting a lot intelligent and smarter in Pie.

The Adaptive Battery function is an extension of the Doze feature which was launched in Android 6 Marshmallow. The Doze puts applications that you weren’t utilizing into a “deep sleep” to avoid them from wasting the battery usage. However now, the Adaptive Battery feature goes one step further by learning about the apps and services you utilize more and adjusts what you don’t utilize as much to use a smaller amount of battery.

This is facilitated as a default feature, however, you can reach it at Settings > Battery > Adaptive Battery. But you need to note one thing that the apps you don’t utilize often may have delayed notifications because of this feature.

Android’s automatic brightness even gets an upgrading in Pie. With this function your mobile phone will learn the brightness levels you desire in some of the apps and environments and regulate it automatically. You can get the assistance and tune it by opening the Quick Settings panel and adjust the brightness as required.

2. New Gesture Navigation

Android has utilized a standard three-button navigation bar at the base of the screen for a much longer time. While exploring Pie, you can drop the standard Back, Home, and Recent buttons according to a newer gesture-based navigation based system.

The fresh devices will have this feature enabled; however, you need to explore the old buttons subsequent to updating. But that’s extremely easy, you can try it – head to Settings > System > Gestures > Swipe up on Home button. After this, the navigation bar will alter immediately.

You can navigate with the new setup as below:

  • Start with taping the new pill-shaped Home button to reach out home
  • If you’re in progress view can utilize the Back button, you will view it and find it at the same place
  • Swipe up on top of the Home button to get opened the latest view. Here, you can move left and right to ensure out the list and swipe up to make clear the latest app. Press and hold any application’s icon to view the Split screen choice. You can even interrelate with apps in this view to pick and copy text
  • Swipe up on the Home button two times and you can get opened your application drawer
  • You can easily swipe right and hold on Home to gradually scroll amid applications and release to open the middle ones
  • Swipe right swiftly and release to switch to the preceding app
  • You can further press and hold the Home button to get opened Google Assistant as you used to do it earlier

This may take some time to get used to; however, it enables smoother methodologies of navigation as matched to the older styles of usages.

3. The Slices

Analogous to App Actions, Slices let you leap right to firm actions in applications. For example, Google says that if you are searching for Lyft on your mobile phone, you will view a shortcut to hail a ride to work, along with the price and required ETA.

4. The App Actions

Google’s launcher before now predicted that the apps you are most likely to utilize are based on the time of the particular day. So with App Actions, you can swiftly initiate the required tasks by forecasting what you desire to do.

For instance, you might observe a shortcut to commence Google Maps navigation to get executed in the morning time. At the job or work, you might observe an App Action chat with your colleagues on the Hangout. Also, when you plug in the headphones, you will observe an App Action for your most up to date playlist.

These are alike to the app shortcuts accessible by long-pressing icons, which in turn were stirred by 3D Touch on the iPhone. With intelligent predictions, you can utilize them more frequently.

5. Digital Wellbeing

Despite the fact that it is not a part of Android so far, the Digital Wellbeing is one of the largely attention-grabbing stuff. This is a tool with features Google has made to assist you view and track the usage of your mobile phones as well as what apps you spend the majority of time in.

6. New Accessibility Menu

Android has an ample amount of accessibility functionalities and features, however, they are not always simple to access. But with a new accessibility menu in Android Pie, you can straightforwardly make it easy to access frequent functions for users who call for assistance.

You can enable this menu by following instructions at Settings > Accessibility > Accessibility Menu. Start the Use service slider and verify the prompt and you will observe a new icon to the right side of the given navigation bar. Tap this and you can bring in a larger menu with shortcut keys to Volume, latest applications, Quick Settings, and much more.

7. New Screenshot Shortcut

The default Power + Volume Down button grouping for shortcuts is slightly awkward. So, with Android Pie, you can use a shortcut right from the Power menu whenever you need it.

You can even tap the Edit command in the notifications that come up to make alterations to your shot instantaneously.

8. Enhanced Security Features

Most of the Android Pie’s security upgrades are not regarded interesting. However, you should have a quick look at two of them.

The first Android version “restricts access to a mic, the camera as well as all SensorManager sensors from applications which are inoperative” as per Google. According to this, even if you have granted permission for an application to the way in your microphone, it can’t do so except you are keenly using it.

The second is a new lockdown mode which reinforces your phone in crisis situations. After you initiate this at Settings > Security & location > Lock screen preferences > Show lockdown option, you can just tap Lockdown on the assessable Power menu. This right away locks your mobile phone, stops the fingerprint unlocking and the Smart Lock, and put out of sight notifications on your lock screen. You will have to utilize your PIN, password, or pattern to get it unlocked.

9. Quick and Easy Screen Rotation

Android automatically toggle your screen orientation on the basis of how it is positioned. One can get locked the available orientation to portrait or landscape, however, this will turn into a twinge if you require to switch over and over again.

On the other hand in Pie, if you have already turned off the Auto-Rotate function, you will observe a fresh icon on the right side of the navigation bar while you get rotated your device to the landscape option. You can then tap it to lock in landscape orientation, and it will remain even if you have turned back to the portrait version. And you can just tap the icon yet again to turn around back to the portrait version.

10. Volume and Sound Enhancements

When you access the Volume button, you will observe the slider now display on the right side as a replacement to the top side. Additionally, while pressing the volume buttons now there are alteration and changes in the Media volume in place of the Ringer volume like previously. This easy volume tweak makes it simpler to keep away from opening a YouTube video and by mistake playing it at bursting blast.

You can tap the Note icon to mute and un-mute the needed media audio. You can even tap the icon on top of this to knob your Calls volume connecting options like Ring, Vibrate, and Mute. You will be required to choose the Gear icon to open the available sound menu and make comprehensive adjustments. Android pie will come with a new Sound Amplifier feature.

Android Pie even offers you more Bluetooth choices. You can have up to 5 Bluetooth connections concurrently, up from presently two in Oreo. Calls will go to all Bluetooth devices accomplished of managing them.

With this alteration, your mobile phone will now remember the volume for independent Bluetooth devices. This will lead you not blowing your ears out with the ear-buds after utilizing the Bluetooth speaker even at a maximum volume.

11. Notification Information

If you want to observe which applications are sending distracting notifications, you can explore and go to Settings > Apps & notifications > Notifications. In the freshly sent section, you can observe and track which of the apps have pinged you of late. Tap See all from last 7 days to sight supplementary information.

Changing Most recent to Most frequent lets you locate the nastiest offenders. Android will even suggest that you disable notifications from applications you swipe away recurrently. Don’t overlook the notification sources or channels established in Oreo, either.

Key Takeaways – What Do You Think of Android 9.0 Pie

There is a lot to like and admire about Android 9 Pie. Still more than the above 11 useful features, this release further comprises of the colorful settings menu, revived fonts, and round corners places about the OS. You will get access to some more added enhancements and useful Android 9 Pie features once you get familiar with the above explored ones. You can in addition even follow the Android 9 Pie update tracker.

Written By : Technostacks
react native hybrid app development

Introduction

It is precise to say that mobile phones have now become an integral part of our day to day life. With regards to Android and iOS enhancements, organizations often get confused with what should they opt or offer their clients. They are in a dilemma to move forward with a multipurpose application with unique User Interface (UI) and amazing User Experience (UX) or applications that are ideal with plentiful stages and are swifter to build in any scenario. With this situation, there comes the REACT Native Development in the depiction.

About React Native

React Native went through an astonishing fame and is sponsored by Facebook. It has an extensive and massive network bolster in the current time. React Native is based on ReactJS which has provided a mammoth rivalry to a long time of top preference, AngularJS. With the piece of information that there are a few likeness and dissimilarity among ReactJS and React Native, which are made with an orientation to underneath, React Native, is a system that builds a chain of command of UI components to erect the JavaScript code. It has a planning and structure of both iOS and Android stages to build a resourceful application with local look and feel.

With ReactJS being an open source JavaScript library supports in making great UIs. Be that as it may, equally React Native and ReactJS are created by Facebook with identical plan standards, to the side from structuring interfaces. As it uses a related code for making REACT Native iOS or the REACT Native Android apps, you merely require knowing the HTML, CSS and the JavaScript. How about we explore the implication of the REACT Native Framework here!

The React Native Framework is known as the Future of Hybrid Apps. Let’s see, What are the reasons behind it?

1) Supports both iOS and ANDROID

Formerly, Facebook just created React Native to be of assistance to iOS platform. Besides, with its partial help to the Android development frameworks and Android working platform. The library would now be able to render versatile UIs for the two stages.

So, Facebook decided to utilize React Native to manufacture its own Ads Manager application, making both an iOS and an Android version. A similar group of engineers worked on the two variants. Facebook additionally made React Native open-source, with the possibility that similarity with different stages like Windows or OS could be chipped away at by the improvement network, so it can remain tuned.

2) Has Reusable Components which enables Hybrid Applications to Render Natively

Gone are the WebView components of other cross breed portable apps. This is feasible in light of the reality that React Native’s building squares are reusable “local segments” that get together purposely to local. Components you would utilize in iOS or Android have partners spot on in React, so you will get a consistent look and feel.

This part based structure furthermore empowers you to fabricate apps with a more quick, web-style way to deal with progression than compared to common half breed solutions, yet with no web by any chance. The application will have the swiftness, look, and expediency of a local portable system.

Read More:- Top Mobile App Development Companies in India For Startups and SMEs

3) React Native is applied with UI Components To An Alive App’s Code – With No Rewriting At All

This is a massive reward for organizations that require extending an in progress application, however, would have a preference not to update it. Fuse React Native parts into the app’s code. Or on the other hand, if your existing half breed application was built with Cordova and Ionic, you can reuse that Cordova-based code efficiently with a module.

4) React Native is a Top Mobile JavaScript Framework amongst Developers and is continuously Maturing

If you know JavaScript, React Native is a swift pick-up, in effect enabling any of the front-end web developers to be an effective and on the spot mobile developer. No need to become skilled at iOS’s Swift or Java for Android – have knowledge of JavaScript, few of the native UI elements, know integration of platform APIs, and any other specific platform design patterns and you are able to get going. Also, comprised in React Native’s library are Flexbox CSS styling, debugging, inline styling, and support deploying to moreover the Google Play or App Store.

React is growing speedily and Facebook has initiated its advanced plans to carry on investing in its overall expansion.

5) React Native is meant for the Precise and Spot on User Interface (UI)

React Native is persistent exclusively on building a mobile UI. In comparison to JavaScript frameworks like Angular or React, React Native is majorly UI-focused, turning it more like a JavaScript library than an actual framework. The resulting UI is exceedingly responsive and feels fluid all credit to asynchronous JavaScript connections with the overall native environment. This means the application will have more rapid load times than a distinctive hybrid application and a smooth feel.

6) Native Application Development Is Much More Proficient and Competent

While native app development is more often than not connected with inadequacy, lesser developer productivity, and slow time of deployment, React Native is all about enhancing the overall pace and agility of web application development to the overall hybrid space with native outcomes.

Beneath React Native’s hood is Facebook’s trendy ReactJS UI library for different web applications. React Native enables all of ReactJS’s superior app performance, DOM abstraction, and easy programming methodologies to hybrid mobile app development.

7) Enables 3rd party Plugin Compatibility, Lesser Memory Usage and a Better Experience

The 3rd party plugins mean you won’t have to depend on a WebView for specific functions. For example, if you are adding Google Maps features and functionality to your application, React Native lets you connect the plugin with a native module, so you can connect the map up with the device’s specific functions including rotate, zoom, and the compass while using lesser memory and loading rapidly. If your application backs old operating systems, this can assist you to keep the application run very smoothly.

Moving Forward

React Native supports and enables you to make authentic as well as vitalizing applications with the backing of JavaScript. It is compatible with both Android and iOS stages. You just need to code once, and the React Native applications are available for both the iOS and Android stages which spare progression time.

Technostacks is one of the leading IT Company in India, has fruitfully carved its niche within a few years of its commencement. The company is occupied actively in offering comprehensive software solutions to cater to the demands of an assorted clientele across the globe.

Written By : Umesh - Android Team Lead
About Us

Technostacks, reputed IT Company in India, has successfully carved its niche within a few years of its inception….

LET'S DISCUSS