Skip to content

Commit

Permalink
Reconstruct java packges
Browse files Browse the repository at this point in the history
  • Loading branch information
race604 committed Sep 23, 2015
1 parent b5115eb commit f5a60b6
Show file tree
Hide file tree
Showing 13 changed files with 241 additions and 34 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ DerivedData
*.ipa
*.xcuserstate
project.xcworkspace
.gradle/*.bin
.gradle/*.lock


# node.js
#
Expand Down
Binary file modified android/.gradle/2.4/taskArtifacts/cache.properties.lock
Binary file not shown.
Binary file modified android/.gradle/2.4/taskArtifacts/fileHashes.bin
Binary file not shown.
Binary file modified android/.gradle/2.4/taskArtifacts/fileSnapshots.bin
Binary file not shown.
Binary file modified android/.gradle/2.4/taskArtifacts/taskArtifacts.bin
Binary file not shown.
252 changes: 226 additions & 26 deletions android/.idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
android:icon="@mipmap/ic_launcher"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:name="com.race604.zhihu.daily.MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rctzhihudaily;
package com.race604.rn.component;

import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.shell.MainReactPackage;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rctzhihudaily;
package com.race604.rn.component;

import android.annotation.TargetApi;
import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rctzhihudaily;
package com.race604.rn.component;

import com.facebook.react.uimanager.CatalystStylesDiffMap;
import com.facebook.react.uimanager.SimpleViewManager;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rctzhihudaily;
package com.race604.zhihu.daily;

import android.app.Activity;
import android.os.Bundle;
Expand All @@ -8,8 +8,8 @@
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactRootView;
import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.SoLoader;
import com.race604.rn.component.MyReactPackage;
import com.rctzhihudaily.BuildConfig;

public class MainActivity extends Activity implements DefaultHardwareBackBtnHandler {

Expand Down
4 changes: 4 additions & 0 deletions android/app/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">知乎日报-RN版</string>
</resources>
2 changes: 1 addition & 1 deletion android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<resources>
<string name="app_name">RCTZhiHuDaily</string>
<string name="app_name">ZhiHuDaily-RN</string>
</resources>

0 comments on commit f5a60b6

Please sign in to comment.