Apple's father is mad, kill React Native?

Source: Internet
Author: User
Tags apple event

This morning to work, I received an apple sent a warning email, a look at the content, I know it is a big deal ah, but also hurriedly sent a micro Bo, and then, today, all day, the IOS world has been the news burst!

This warning message probably means that Apple will no longer allow the use of dynamic code-issuing mechanism, if the APP internal use of dynamic code-issued framework, there will be a risk of rejection.

The so-called dynamic code, which is what we often call hot fixes, hot updates, is in the case we do not need to publish a version of the situation, we can fix bugs, publishing features, because the iOS audit mechanism, this ability is very important in the iOS community.

There are several frameworks for dynamic release capabilities in the IOS world: Jspatch, Rollout, React Native, Weex.

Among them, Jspatch and Rollout is a special hot update framework, Jspatch domestic application is very extensive, including our home is also, Rollout is used abroad, is the main object, before Apple for this hot update is blind eye, And this time is determined to rectify, after all, bypassing the Apple Dad's audit mechanism, if not added management, will not escape the father's discernment.

This is OK, big deal not to hot update, but some apps use React Native and Weex developers, the same people received the Apple warning email, this can explode the pot, to know that RN, Weex This is the cross-platform framework of the company launched, if it was banned, some manufacturers of It's an exaggeration to rewrite the APP, which is a deadly blow.

But in the case of no definite conclusion, before studying for a long time RN students simply want to be confused, there are some students did not learn to gloat, secretly fortunately, fortunately did not learn ah, and even rumors of the company to the whole department of RN has been cut, it is a little to see, so I think it should be clear why, write an article.

Understand that the main cause of this event is the 2.5.2 of the App Store Review Guide Line:

2.5.2 Apps should be self-contained in their bundles, and may not read or write data outside the designated container area , nor may they download, install, or execute code, including other IOS, WatchOS, MacOS, or TvOS apps.

This is a new rule that was updated after the WWDC in 16. What do you mean? This means that all executed code should be included in the APP and cannot be downloaded to local execution. The issuance of either OC or JS or other forms of code, can be considered to violate this rule, there is a risk of rejection.

See here, I probably understand, Apple this is mainly for the issuing code, and React Native, Weex this kind of framework just also has the ability to release code, but their main responsibility is not to solve the hot update and exist, but a cross-platform solution, so, although Apple officials did not say , but I think it just happened to be on the cusp, lying on the gun.

So, some people listen to the wind is rain, not so hasty conclusion, RN, Weex this cross-platform solution although now immature, the scope of use is not so wide, I personally do not recommend the use of commercial projects now, but do not worry about being blocked by Apple, if it is really blocked by Apple, Then the small program will not agree to review, because essentially small program is similar to the RN set of programs, please have some basic thinking ability.

and React Native The official also responded, said will not be affected, address here:
https://github.com/facebook/react-native/issues/12778

It seems that Apple is not related to Android developers, but if Apple blocked React Native, then the Android industry will be affected, after all, the use of Rn is mainly for cross-platform, Apple does not support, who will use RN to develop Android Ah, therefore, write an article to everyone explained Under

By the way, for the solution to this Apple event, your home IOS App is likely to use:

    1. If the domestic App is in use Jspatch, then please remove, there is no other better solution;

    2. Update or remove some third parties using Jspatch SDK, currently known to have high-de map, Bugtags, Push, bugly.

In addition, to say a digression, this incident, Jspatch GitHub Official library of issues someone to seek confirmation and solution, who know to attract a group of people eat melon crowd onlookers, building, that scene is quite spectacular, can only say that the Chinese to play on GitHub, GitHub This is a discussion of the technology of the open-source community, to take this bad atmosphere to GitHub really do not see, here to call everyone, do not do this on GitHub!

Address is here:
https://github.com/bang590/JSPatch/issues/751

Finally, this matter, a lot of iOS developers scold Apple dad too overbearing, in fact, I want to say, contentment, the body in the blessing, if my Valley dad can occasionally overbearing one back, Android developers estimate to be happy crazy!

The original published in the public number Androiddeveloper,id:googdev, welcome to get more original share.

Apple's father is mad, kill React Native?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.